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
李卓原
2018-10-17 17:15:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d35964b68a29a6692338feb1123cfad6681d3fc9
d35964b6
1 parent
b5bbba69
全局设置1次
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
README.md
README_CN.md
README.md
View file @
d35964b
...
...
@@ -26,7 +26,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
### Initialize the setup size
Please set the width and height of the design draft before use, the width and height of the design draft (unit px).
Be sure to set the page in the MaterialApp's home to ensure that the fit size is set before each use:
Be sure to set the page in the MaterialApp's home
(ie the entry file, just set it once)
to ensure that the fit size is set before each use:
```
//Set the fit size (fill in the screen size of the device in the design)
...
...
README_CN.md
View file @
d35964b
...
...
@@ -29,7 +29,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
### 初始化设置尺寸
在使用之前请设置好设计稿的宽度和高度,传入设计稿的宽度和高度(单位px)
一定在MaterialApp的home中的页面设置
,
以保证在每次使用之前设置好了适配尺寸:
一定在MaterialApp的home中的页面设置
(即入口文件,只需设置一次),
以保证在每次使用之前设置好了适配尺寸:
```
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334)
...
...
Please
register
or
login
to post a comment