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
李卓原
2020-09-14 17:24:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a4595b0a64a36d8820c9f988f4329c60e42f7675
a4595b0a
1 parent
43c64924
fix #147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
README_CN.md
README_CN.md
View file @
a4595b0
...
...
@@ -208,9 +208,7 @@ class _MyHomePageState extends State<MyHomePage> {
@override
Widget
build
(
BuildContext
context
)
{
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 此处假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334)
ScreenUtil
.
init
(
width:
750
,
height:
1334
,
allowFontScaling:
false
);
ScreenUtil
.
init
();
ScreenUtil
.
init
(
width:
750
,
height:
1334
,
allowFontScaling:
false
);
ScreenUtil
.
init
(
context
,
width:
750
,
height:
1334
,
allowFontScaling:
false
);
return
ExampleWidget
(
title:
'FlutterScreenUtil示例'
);
}
...
...
Please
register
or
login
to post a comment