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 | +**ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。** | ||
78 | ``` | 79 | ``` |
79 | class MyApp extends StatelessWidget { | 80 | class MyApp extends StatelessWidget { |
80 | @override | 81 | @override |
-
Please register or login to post a comment