Showing
2 changed files
with
4 additions
and
4 deletions
@@ -180,7 +180,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -180,7 +180,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
180 | 'My width:${ScreenUtil().setWidth(375)}dp', | 180 | 'My width:${ScreenUtil().setWidth(375)}dp', |
181 | style: TextStyle( | 181 | style: TextStyle( |
182 | color: Colors.white, | 182 | color: Colors.white, |
183 | - fontSize: ScreenUtil().setSp(12, false)), | 183 | + fontSize: ScreenUtil().setSp(12)), |
184 | ), | 184 | ), |
185 | ), | 185 | ), |
186 | Container( | 186 | Container( |
@@ -190,7 +190,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -190,7 +190,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
190 | child: Text('My width:${ScreenUtil().setWidth(375)}dp', | 190 | child: Text('My width:${ScreenUtil().setWidth(375)}dp', |
191 | style: TextStyle( | 191 | style: TextStyle( |
192 | color: Colors.white, | 192 | color: Colors.white, |
193 | - fontSize: ScreenUtil().setSp(12, false))), | 193 | + fontSize: ScreenUtil().setSp(12))), |
194 | ), | 194 | ), |
195 | ], | 195 | ], |
196 | ), | 196 | ), |
@@ -178,7 +178,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -178,7 +178,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
178 | '我的宽度:${ScreenUtil().setWidth(375)}dp', | 178 | '我的宽度:${ScreenUtil().setWidth(375)}dp', |
179 | style: TextStyle( | 179 | style: TextStyle( |
180 | color: Colors.white, | 180 | color: Colors.white, |
181 | - fontSize: ScreenUtil().setSp(12, false), | 181 | + fontSize: ScreenUtil().setSp(12), |
182 | ), | 182 | ), |
183 | ), | 183 | ), |
184 | ), | 184 | ), |
@@ -189,7 +189,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -189,7 +189,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
189 | child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp', | 189 | child: Text('我的宽度:${ScreenUtil().setWidth(375)}dp', |
190 | style: TextStyle( | 190 | style: TextStyle( |
191 | color: Colors.white, | 191 | color: Colors.white, |
192 | - fontSize: ScreenUtil().setSp(12, false), | 192 | + fontSize: ScreenUtil().setSp(12), |
193 | )), | 193 | )), |
194 | ), | 194 | ), |
195 | ], | 195 | ], |
-
Please register or login to post a comment