responsive_property 0.0.8
responsive_property: ^0.0.8 copied to clipboard
Inspired by Flutter's MaterialStateProperty, gives you a responsive value based on the current screen dimension.
0.0.1 #
Initial release. The responsive feature originally from the animated_styled_widget package is now move to this package.
0.0.2 #
Update README
0.0.3 #
Update example
0.0.4 #
Update README
0.0.5 #
Update comments
0.0.6 #
Update license.
0.0.7 #
Update dependency.
0.0.8 #
- Support the latest Flutter stable. Requires Dart 3.6 and Flutter 3.27 or newer.
- Fix the compile error on Flutter 3.27 and newer, where
hashValueswas removed (fix deprecation). - No longer depend on Flutter's Material library, only on the widgets library.
- Fix
parseScreenScopeandResponsive.fromJsoncrashing when a screen scope in the JSON has missing or null bounds. They now get theScreenScopedefaults. - Fix
Responsive<double>.fromJson(without a decoder) rejecting JSON integers like2. ScreenBuilderconstructors take an optionalkey, andScreenBuilder.builderis nowconst.- Add
ScreenScope.toString. - Update
flutter_class_parserto ^0.2.6. - Add API documentation, tests and lints, and update the README and example. The JSON format is unchanged.