Skip to content

Commit c8dfc96

Browse files
authored
Update README.md (#527)
there is a mistake in writing the name of the list "responsiveWidgets"
1 parent 5e6d317 commit c8dfc96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
5050
| minTextAdapt | bool | false | Whether to adapt the text according to the minimum of width and height |
5151
| context | BuildContext | null | Get physical device data if not provided, by MediaQuery.of(context) |
5252
| 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)) |
5454

5555
**Note : You must either provide builder, child or both.**
5656

@@ -59,7 +59,7 @@ Starting from version 5.9.0, ScreenUtilInit won't rebuild the whole widget tree,
5959
- Widget is not a flutter widget (widgets are available in [Flutter Docs](https://docs.flutter.dev/reference/widgets))
6060
- Widget does not start with underscore (`_`)
6161
- Widget does not declare `SU` mixin
62-
- `reponsiveWidgets` does not contains widget name
62+
- `responsiveWidgets` does not contains widget name
6363

6464
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.
6565

0 commit comments

Comments
 (0)