- Package deprecation
We no longer plan to maintain this project. Please consider using another package.
Though, to switch to another package, we upgraded this project to use Dart 2.17
and Flutter 3
.
- Fixed
README.md
to explain what null safety can do (refers to a Medium article).
- Migrated package to null safety
- Fixed a problem where
adaptiveState
was called on null
AdaptiveScaffold
has now more fields in use forScaffold
.
- Replaced deprecated
inheritFromWidgetOfExactType
withdependOnInheritedWidgetOfExactType
- More documentation on AdaptiveApp on how to use it properly.
- Removed deprecated/non-existing types and fields
VisualDensity
,SmartQuotesType
,onGenerateInitialRoutes
. These fields are removed from the Flutter framework and no longer be used in this package. Remove it from your code.
- Fixed borderRadius and padding for Cupertino styled AdaptiveButton
- Fixed
disabledColor != null
assertion issue on AdaptiveButton on Cupertino style
- AdaptiveButton property default value fixes
AdaptiveButton.icon
added
- More customization on
AdaptiveButton
- A set of fields added to Adaptive app to customize it in a more flexible way
- Default values added like in the original widget
TextField
andCupertinoTextField
with almost full control
- fields
drawer
,endDrawer
,backgroundColor
,floatingActionButton
,floatingActionButtonLocation
,floatingActionButtonAnimator
andbottomNavigationBar
added.
- IconButton now contains
color
andtooltip
fields
- Do not use 0.3.2 cause it contains a critical issue. Recommended to update to this version
AdaptiveButton
has now more properties:textTheme
,hoverColor
andhightlightColor
.
- Color property for raised buttons can now be set through the known "color" field directly.
- AdaptiveButton's
buttonColor
was deprecated sincecolor
property is used.
- Flutter already has a Switch.adaptive, but the platform for this widget cannot dynamically be adjusted.
- Check if large navBar for Cupertino.
- Null checks for app bars.
- An AppBar is no longer required in AdaptiveScaffold.
- The're not useful. Title is auto ignored on a null app bar
- Setting a title on AdaptiveScaffold requires the app bars to be null.
- Not setting a title requires both app bars to be set.
- All widgets now contain a key parameter.
- AdaptiveScaffold contains a key "scaffoldKey".
- If needed, a custom AppBar or CupertinoNavigationBar can now be used.
- Adding support for adaptive ListTile and ProgressIndicator.
- Not setting onPressed on AdaptiveAlertDialogButton causes the app to crash
- Improved stability on AdaptiveScaffold
- A guide for AdaptiveScaffold is now in README.md
- Initially published version.
- Set of 7 widgets that can easily be used.
- Use README.md as a guide