Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
李卓原
2023-05-15 17:51:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
264f66b376ce97066250bf988a35f59a913c1b33
264f66b3
1 parent
ee56db76
example
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
example/lib/src/first_method.dart
example/lib/src/first_method.dart
View file @
264f66b
...
...
@@ -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
,
...
...
Please
register
or
login
to post a comment