Skip to content

Commit

Permalink
v 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed May 22, 2023
1 parent 15a6c2b commit ef63346
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 6.0.1
- change useInheritedMediaQuery default value to true
- update readme

# 6.0.0
- remove ScreenutilInit layout listener

Expand Down
3 changes: 1 addition & 2 deletions lib/src/screenutil_init.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ScreenUtilInit extends StatefulWidget {
this.designSize = ScreenUtil.defaultSize,
this.splitScreenMode = false,
this.minTextAdapt = false,
this.useInheritedMediaQuery = false,
this.useInheritedMediaQuery = true,
this.scaleByHeight = false})
: super(key: key);

Expand Down Expand Up @@ -93,7 +93,6 @@ class _ScreenUtilInitState extends State<ScreenUtilInit>
@override
void initState() {
super.initState();
// mediaQueryData = newData;
binding.addObserver(this);
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_screenutil
description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models
version: 6.0.0
version: 6.0.1
homepage: https://github.com/OpenFlutter/flutter_screenutil

environment:
Expand Down

0 comments on commit ef63346

Please sign in to comment.