Skip to content

Commit 36b25de

Browse files
authored
Update README.md
1 parent 03d830d commit 36b25de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Please set the size of the design draft before use, the width and height of the
4545
void main() {
4646
WidgetsFlutterBinding.ensureInitialized();
4747
//Set the fit size (fill in the screen size of the device in the design) If the design is based on the size of the iPhone6 ​​(iPhone6 ​​750*1334)
48-
ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: false);
48+
ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: false);
4949
runApp(MyApp());
5050
}
5151

0 commit comments

Comments
 (0)