李卓原

readme

@@ -118,6 +118,7 @@ class MyApp extends StatelessWidget { @@ -118,6 +118,7 @@ class MyApp extends StatelessWidget {
118 118
119 ``` 119 ```
120 #### The second way:Does not support font adaptation in the textTheme of MaterialApp's theme. 120 #### The second way:Does not support font adaptation in the textTheme of MaterialApp's theme.
  121 +**Hybrid development uses the second way**
121 **(If it is not necessary, it is recommended to use the second)** 122 **(If it is not necessary, it is recommended to use the second)**
122 123
123 not support this: 124 not support this:
@@ -91,7 +91,7 @@ class MyApp extends StatelessWidget { @@ -91,7 +91,7 @@ class MyApp extends StatelessWidget {
91 #### 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配 91 #### 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配
92 92
93 **如非必要,建议使用第二种** 93 **如非必要,建议使用第二种**
94 - 94 +**混合开发使用第二种方式**
95 **ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。** 95 **ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。**
96 ``` 96 ```
97 class MyApp extends StatelessWidget { 97 class MyApp extends StatelessWidget {
@@ -85,6 +85,8 @@ class MyApp extends StatelessWidget { @@ -85,6 +85,8 @@ class MyApp extends StatelessWidget {
85 ``` 85 ```
86 86
87 The second way:Does not support font adaptation in the textTheme of MaterialApp's theme. 87 The second way:Does not support font adaptation in the textTheme of MaterialApp's theme.
  88 +**Hybrid development uses the second way**
  89 +
88 ``` 90 ```
89 class MyApp extends StatelessWidget { 91 class MyApp extends StatelessWidget {
90 @override 92 @override