Showing
1 changed file
with
1 additions
and
0 deletions
@@ -75,6 +75,7 @@ class MyApp extends StatelessWidget { | @@ -75,6 +75,7 @@ class MyApp extends StatelessWidget { | ||
75 | ``` | 75 | ``` |
76 | 76 | ||
77 | 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配 | 77 | 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配 |
78 | + | ||
78 | **ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。** | 79 | **ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。** |
79 | ``` | 80 | ``` |
80 | class MyApp extends StatelessWidget { | 81 | class MyApp extends StatelessWidget { |
-
Please register or login to post a comment