Showing
2 changed files
with
5 additions
and
2 deletions
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | * @LastEditTime: 2020年6月20日 11:20:02 | 5 | * @LastEditTime: 2020年6月20日 11:20:02 |
6 | * @Description: Update log | 6 | * @Description: Update log |
7 | --> | 7 | --> |
8 | -# 3.0.0 | 8 | +# 3.0.0-beta.1 |
9 | **BREAKING CHANGES** | 9 | **BREAKING CHANGES** |
10 | - `BuildContext` is no more required while initializing. i.e. ScreenUtil.init(~~context~~) | 10 | - `BuildContext` is no more required while initializing. i.e. ScreenUtil.init(~~context~~) |
11 | - Initialize size of design draft using `designSize` instead of width & height. | 11 | - Initialize size of design draft using `designSize` instead of width & height. |
@@ -14,6 +14,9 @@ | @@ -14,6 +14,9 @@ | ||
14 | 14 | ||
15 | [Update log](https://github.com/OpenFlutter/flutter_screenutil/blob/master/CHANGELOG.md) | 15 | [Update log](https://github.com/OpenFlutter/flutter_screenutil/blob/master/CHANGELOG.md) |
16 | 16 | ||
17 | +## Note | ||
18 | +v3 requires `flutter >= 1.19.0`. Use v2 for current stable version of flutter. | ||
19 | + | ||
17 | ## Usage: | 20 | ## Usage: |
18 | 21 | ||
19 | ### Add dependency: | 22 | ### Add dependency: |
@@ -24,7 +27,7 @@ dependencies: | @@ -24,7 +27,7 @@ dependencies: | ||
24 | flutter: | 27 | flutter: |
25 | sdk: flutter | 28 | sdk: flutter |
26 | # add flutter_screenutil | 29 | # add flutter_screenutil |
27 | - flutter_screenutil: ^3.0.0 | 30 | + flutter_screenutil: ^3.0.0-beta.1 |
28 | ``` | 31 | ``` |
29 | 32 | ||
30 | ### Add the following imports to your Dart code: | 33 | ### Add the following imports to your Dart code: |
-
Please register or login to post a comment