Committed by
GitHub
Update Readme.md
pipes | and hyphens - are not supported in pub.dev
Showing
1 changed file
with
26 additions
and
6 deletions
| @@ -31,12 +31,32 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -31,12 +31,32 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
| 31 | ``` | 31 | ``` |
| 32 | 32 | ||
| 33 | ### Property | 33 | ### Property |
| 34 | - | ||
| 35 | -|Property|Type|Default Value|Description| | ||
| 36 | -|:---|:---|:---|:---| | ||
| 37 | -|designSize|Size|Size(360, 690)|The size of the device screen in the design draft, in dp| | ||
| 38 | -|builder|Widget Function()|Container()|Generally returning a Function of MaterialApp type| | ||
| 39 | -|orientation|Orientation|portrait|screen orientation| | 34 | +<table style="width:100%"> |
| 35 | + <tr> | ||
| 36 | + <th>Property</th> | ||
| 37 | + <th>Type</th> | ||
| 38 | + <th>Default Value</th> | ||
| 39 | + <th>Description</th> | ||
| 40 | + </tr> | ||
| 41 | + <tr> | ||
| 42 | + <td>designSize</td> | ||
| 43 | + <td>Size</td> | ||
| 44 | + <td>Size(360, 690)</td> | ||
| 45 | + <td>The size of the device screen in the design draft, in dp</td> | ||
| 46 | + </tr> | ||
| 47 | + <tr> | ||
| 48 | + <td>builder</td> | ||
| 49 | + <td>Widget Function()</td> | ||
| 50 | + <td>Container()</td> | ||
| 51 | + <td>Generally returning a Function of MaterialApp type</td> | ||
| 52 | + </tr> | ||
| 53 | + <tr> | ||
| 54 | + <td>orientation</td> | ||
| 55 | + <td>Orientation</td> | ||
| 56 | + <td>portrait</td> | ||
| 57 | + <td>screen orientation</td> | ||
| 58 | + </tr> | ||
| 59 | +</table> | ||
| 40 | 60 | ||
| 41 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option | 61 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option |
| 42 | Please set the size of the design draft before use, the width and height of the design draft. | 62 | Please set the size of the design draft before use, the width and height of the design draft. |
-
Please register or login to post a comment