- Android project upgrades (Gradle 8, AGP 8.0, compileSDK 33, Java 17). Thanks to @vbuberen
- Calling
setHighRefreshRate
orsetLowRefreshRate
will always set the display mode. Fixes #20 - Setting compileSdkVersion to 30
- Cleaned up all deprecation warnings. Fixes #14
- Migrate to mavenCentral. Thanks to @alvarisi
- Removed deprecated
registerWith
function to cleanup warnings
- Fix setHighRefreshRate/setLowRefreshRate
- Add
FlutterDisplayMode.setHighRefreshRate
andFlutterDisplayMode.setLowRefreshRate
methods
- Breaking changes to fix issue#9
FlutterDisplayMode.current
renamed toFlutterDisplayMode.active
FlutterDisplayMode.setMode
renamed toFlutterDisplayMode.setPreferredMode
- Added
FlutterDisplayMode.preferred
- Removed
DisplayMode.selected
field. UseFlutterDisplayMode.active
instead.
- Migrate to null safety. Thanks @AlexV525
- Fix pubspec warning for iOS issue#4
- Support get current mode from platform.
- Support default mode set according to platform setting.
- Code stylus improving.
- Initial release.