Committed by
GitHub
Update README.md (#527)
there is a mistake in writing the name of the list "responsiveWidgets"
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -50,7 +50,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -50,7 +50,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
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. | | 52 | | fontSizeResolver | Function | *default* | Function that specify how font size should be adapted. Default is that font size scale with width of screen. | |
53 | -| reponsiveWidgets | 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)) | | 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 | 54 | ||
55 | **Note : You must either provide builder, child or both.** | 55 | **Note : You must either provide builder, child or both.** |
56 | 56 | ||
@@ -59,7 +59,7 @@ Starting from version 5.9.0, ScreenUtilInit won't rebuild the whole widget tree, | @@ -59,7 +59,7 @@ Starting from version 5.9.0, ScreenUtilInit won't rebuild the whole widget tree, | ||
59 | - Widget is not a flutter widget (widgets are available in [Flutter Docs](https://docs.flutter.dev/reference/widgets)) | 59 | - Widget is not a flutter widget (widgets are available in [Flutter Docs](https://docs.flutter.dev/reference/widgets)) |
60 | - Widget does not start with underscore (`_`) | 60 | - Widget does not start with underscore (`_`) |
61 | - Widget does not declare `SU` mixin | 61 | - Widget does not declare `SU` mixin |
62 | -- `reponsiveWidgets` does not contains widget name | 62 | +- `responsiveWidgets` does not contains widget name |
63 | 63 | ||
64 | If you have a widget that uses the library and doesn't meet these options you can either add `SU` mixin or add widget name in responsiveWidgets list. | 64 | If you have a widget that uses the library and doesn't meet these options you can either add `SU` mixin or add widget name in responsiveWidgets list. |
65 | 65 |
-
Please register or login to post a comment