diff --git a/.packages b/.packages index 5ccce39..6402dc8 100644 --- a/.packages +++ b/.packages @@ -1,4 +1,4 @@ -# Generated by pub on 2020-01-06 16:51:35.863956. +# Generated by pub on 2020-01-06 17:25:02.129620. archive:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/ args:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/ async:file:///D:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/ diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c2a16..c6c2f89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ #1.0.0 - Rebuild code, change API + Delete "getInstance()", please use "ScreenUtil ()" instead of "ScreenUtil.getInstance()" + use "ScreenUtil().setSp(24, allowFontScalingSelf: true)" instead of "ScreenUtil.getInstance().setSp(14, true)" - Modify the initialization method - Fix #68 - CompileSdkVersion change to 28 diff --git a/pubspec.yaml b/pubspec.yaml index f66913e..b8af2db 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,8 +1,8 @@ name: flutter_screenutil description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models version: 1.0.0 -author: LiZhuoyuan -homepage: https://github.com/OpenFlutter/flutter_screenutil +homepage: https://github.com/lizhuoyuan +github: https://github.com/OpenFlutter/flutter_screenutil environment: sdk: ">=2.0.0-dev.68.0 <3.0.0"