Showing
1 changed file
with
6 additions
and
4 deletions
| @@ -41,16 +41,18 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -41,16 +41,18 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
| 41 | ### Properties | 41 | ### Properties |
| 42 | 42 | ||
| 43 | | Property | Type | Default Value | Description | | 43 | | Property | Type | Default Value | Description | |
| 44 | -| ---------------- |--------------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------| | 44 | +| ----------------- | ---------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 45 | | designSize | Size | Size(360,690) | The size of the device screen in the design draft, in dp | | 45 | | designSize | Size | Size(360,690) | The size of the device screen in the design draft, in dp | |
| 46 | | builder | Function | null | Return widget that uses the library in a property (ex: MaterialApp's theme) | | 46 | | builder | Function | null | Return widget that uses the library in a property (ex: MaterialApp's theme) | |
| 47 | | child | Widget | null | A part of builder that its dependencies/properties don't use the library | | 47 | | child | Widget | null | A part of builder that its dependencies/properties don't use the library | |
| 48 | -| rebuildFactor | Function | *default* | Function that take old and new screen metrics and returns whether to rebuild or not when changes. | | 48 | +| rebuildFactor | Function | _default_ | Function that take old and new screen metrics and returns whether to rebuild or not when changes. | |
| 49 | | splitScreenMode | bool | false | support for split screen | | 49 | | splitScreenMode | bool | false | support for split screen | |
| 50 | | minTextAdapt | bool | false | Whether to adapt the text according to the minimum of width and height | | 50 | | minTextAdapt | bool | false | Whether to adapt the text according to the minimum of width and height | |
| 51 | | context | BuildContext | null | Get physical device data if not provided, by MediaQuery.of(context) | | 51 | | context | BuildContext | null | Get physical device data if not provided, by MediaQuery.of(context) | |
| 52 | -| fontSizeResolver | Function | *default* | Function that specify how font size should be adapted. Default is that font size scale with width of screen. | | ||
| 53 | -| responsiveWidgets| Iterable<String> | null | List/Set of widget names that should be included in rebuilding tree. (See [How flutter_screenutil marks a widget needs build](#rebuild-list)) | | 52 | +| fontSizeResolver | Function | _default_ | Function that specify how font size should be adapted. Default is that font size scale with width of screen. | |
| 53 | +| responsiveWidgets | Iterable<String> | null | List/Set of widget names that should be included in rebuilding tree. (See [How flutter_screenutil marks a widget needs build](#rebuild-list)) | | ||
| 54 | +| excludeWidgets | Iterable<String> | null | List/Set of widget names that should be excluded from rebuilding tree. | | ||
| 55 | + | ||
| 54 | 56 | ||
| 55 | **Note : You must either provide builder, child or both.** | 57 | **Note : You must either provide builder, child or both.** |
| 56 | 58 |
-
Please register or login to post a comment