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
李卓原
2021-01-05 13:39:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
abd30fef7921bd1e5dc668e27299f2e342df47c4
abd30fef
1 parent
c7829b27
update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
32 deletions
README.md
README_CN.md
README_PT.md
README.md
View file @
abd30fe
...
...
@@ -56,18 +56,6 @@ class MyApp extends StatelessWidget {
);
}
}
//fill in the screen size of the device in the design
//default value : width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil
.
init
(
constraints
);
//The size of the equipment in the design draft(360,690)
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
));
//If you want to set the font size is scaled according to the system's "font size" assist option
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
),
allowFontScaling:
true
);
```
### Use:
...
...
README_CN.md
View file @
abd30fe
...
...
@@ -64,16 +64,6 @@ class MyApp extends StatelessWidget {
);
}
}
//默认 width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil
.
init
(
constraints
);
//传入设计稿的尺寸(例如(360,690))
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
));
//设置字体大小根据系统的“字体大小”辅助选项来进行缩放,默认为false
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
),
allowFontScaling:
true
);
```
### 使用
...
...
README_PT.md
View file @
abd30fe
...
...
@@ -60,16 +60,6 @@ class MyApp extends StatelessWidget {
);
}
}
//Valor padrão: width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil
.
init
(
constraints
);
//The size of the equipment in the design draft(360,690)
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
));
//Se você quer definir que o tamanho da fonte seja ajustado de acordo com a opção "tamanho da fonte" na acessibilidade do sistema
ScreenUtil
.
init
(
constraints
,
designSize:
Size
(
360
,
690
),
allowFontScaling:
true
);
```
### Uso:
...
...
Please
register
or
login
to post a comment