Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed May 15, 2023
1 parent ee56db7 commit 264f66b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/lib/src/first_method.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
// In first method you only need to wrap [MaterialApp] with [ScreenUtilInit] and that's it
return ScreenUtilInit(
useInheritedMediaQuery: true,
builder: (_, child) {
return MaterialApp(
debugShowCheckedModeBanner: false,
Expand Down

0 comments on commit 264f66b

Please sign in to comment.