李卓原

readme

... ... @@ -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:
... ...
... ... @@ -91,7 +91,7 @@ class MyApp extends StatelessWidget {
#### 方式二: 不支持在MaterialApp的theme的textTheme中使用字体适配
**如非必要,建议使用第二种**
**混合开发使用第二种方式**
**ScreenUtil.init只需在home或者根路由(即第一个flutter页面)中调用一次即可。**
```
class MyApp extends StatelessWidget {
... ...
... ... @@ -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
... ...