Showing
3 changed files
with
5 additions
and
3 deletions
1 | -# Generated by pub on 2020-01-06 16:51:35.863956. | 1 | +# Generated by pub on 2020-01-06 17:25:02.129620. |
2 | archive:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/ | 2 | archive:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/ |
3 | args:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/ | 3 | args:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/ |
4 | async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/ | 4 | async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/ |
@@ -8,6 +8,8 @@ | @@ -8,6 +8,8 @@ | ||
8 | 8 | ||
9 | #1.0.0 | 9 | #1.0.0 |
10 | - Rebuild code, change API | 10 | - Rebuild code, change API |
11 | + Delete "getInstance()", please use "ScreenUtil ()" instead of "ScreenUtil.getInstance()" | ||
12 | + use "ScreenUtil().setSp(24, allowFontScalingSelf: true)" instead of "ScreenUtil.getInstance().setSp(14, true)" | ||
11 | - Modify the initialization method | 13 | - Modify the initialization method |
12 | - Fix #68 | 14 | - Fix #68 |
13 | - CompileSdkVersion change to 28 | 15 | - CompileSdkVersion change to 28 |
1 | name: flutter_screenutil | 1 | name: flutter_screenutil |
2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models | 2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models |
3 | version: 1.0.0 | 3 | version: 1.0.0 |
4 | -author: LiZhuoyuan <zhuoyuan93@gmail.com> | ||
5 | -homepage: https://github.com/OpenFlutter/flutter_screenutil | 4 | +homepage: https://github.com/lizhuoyuan |
5 | +github: https://github.com/OpenFlutter/flutter_screenutil | ||
6 | 6 | ||
7 | environment: | 7 | environment: |
8 | sdk: ">=2.0.0-dev.68.0 <3.0.0" | 8 | sdk: ">=2.0.0-dev.68.0 <3.0.0" |
-
Please register or login to post a comment