Showing
2 changed files
with
4 additions
and
4 deletions
@@ -171,11 +171,11 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -171,11 +171,11 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
171 | Column( | 171 | Column( |
172 | crossAxisAlignment: CrossAxisAlignment.start, | 172 | crossAxisAlignment: CrossAxisAlignment.start, |
173 | children: <Widget>[ | 173 | children: <Widget>[ |
174 | - Text('我的文字大小在设计稿上是14px,不会随着系统的文字大小变化', | 174 | + Text('我的文字大小在设计稿上是14px,不会随着系统的文字缩放比例变化', |
175 | style: TextStyle( | 175 | style: TextStyle( |
176 | color: Colors.black, | 176 | color: Colors.black, |
177 | fontSize: ScreenUtil().setSp(14, false))), | 177 | fontSize: ScreenUtil().setSp(14, false))), |
178 | - Text('我的文字大小在设计稿上是14px,会随着系统的文字大小变化', | 178 | + Text('我的文字大小在设计稿上是14px,会随着系统的文字缩放比例变化', |
179 | style: TextStyle( | 179 | style: TextStyle( |
180 | color: Colors.black, fontSize: ScreenUtil().setSp(14))), | 180 | color: Colors.black, fontSize: ScreenUtil().setSp(14))), |
181 | ], | 181 | ], |
@@ -112,11 +112,11 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -112,11 +112,11 @@ class _MyHomePageState extends State<MyHomePage> { | ||
112 | Column( | 112 | Column( |
113 | crossAxisAlignment: CrossAxisAlignment.start, | 113 | crossAxisAlignment: CrossAxisAlignment.start, |
114 | children: <Widget>[ | 114 | children: <Widget>[ |
115 | - Text('我的文字大小在设计稿上是14px,不会随着系统的文字大小变化', | 115 | + Text('我的文字大小在设计稿上是14px,不会随着系统的文字缩放比例变化', |
116 | style: TextStyle( | 116 | style: TextStyle( |
117 | color: Colors.black, | 117 | color: Colors.black, |
118 | fontSize: ScreenUtil().setSp(14, false))), | 118 | fontSize: ScreenUtil().setSp(14, false))), |
119 | - Text('我的文字大小在设计稿上是14px,会随着系统的文字大小变化', | 119 | + Text('我的文字大小在设计稿上是14px,会随着系统的文字缩放比例变化', |
120 | style: TextStyle( | 120 | style: TextStyle( |
121 | color: Colors.black, fontSize: ScreenUtil().setSp(14))), | 121 | color: Colors.black, fontSize: ScreenUtil().setSp(14))), |
122 | ], | 122 | ], |
-
Please register or login to post a comment