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
李卓原
2022-03-08 10:22:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75a82e8ae7654e3ab2c108bef0f7f262bc209c50
75a82e8a
1 parent
ba425295
readme
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
README.md
README_CN.md
README_PT.md
README.md
View file @
75a82e8
...
...
@@ -118,6 +118,7 @@ class MyApp extends StatelessWidget {
```
#### The second way:Does not support font adaptation in the textTheme of MaterialApp's theme.
**Hybrid development uses the second way**
**(If it is not necessary, it is recommended to use the second)**
not support this:
...
...
README_CN.md
View file @
75a82e8
...
...
@@ -91,7 +91,7 @@ class MyApp extends StatelessWidget {
#### 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配
**如非必要,建议使用第二种**
**混合开发使用第二种方式**
**ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。**
```
class MyApp extends StatelessWidget {
...
...
README_PT.md
View file @
75a82e8
...
...
@@ -85,6 +85,8 @@ class MyApp extends StatelessWidget {
```
The second way:Does not support font adaptation in the textTheme of MaterialApp's theme.
**Hybrid development uses the second way**
```
class MyApp extends StatelessWidget {
@override
...
...
Please
register
or
login
to post a comment