Committed by
GitHub
Update size_extension.dart
some correction changes on dexcription
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -13,8 +13,8 @@ extension SizeExtension on num { | @@ -13,8 +13,8 @@ extension SizeExtension on num { | ||
13 | ///[ScreenUtil.setSp] | 13 | ///[ScreenUtil.setSp] |
14 | double get sp => ScreenUtil().setSp(this); | 14 | double get sp => ScreenUtil().setSp(this); |
15 | 15 | ||
16 | - ///smart size : it check your value if it is bigger than your value set your value | ||
17 | - ///for example you have set 16.sm() , if for your screen 16.sp() bigger than 16 it will set 16 not 16.sp() | 16 | + ///smart size : it check your value - if it is bigger than your value it will set your value |
17 | + ///for example, you have set 16.sm() , if for your screen 16.sp() is bigger than 16 , then it will set 16 not 16.sp() | ||
18 | ///I think that it is good for save size balance on big sizes of screen | 18 | ///I think that it is good for save size balance on big sizes of screen |
19 | double get sm => min(toDouble(), sp); | 19 | double get sm => min(toDouble(), sp); |
20 | 20 |
-
Please register or login to post a comment