- Adds
materialBuilder
andcupertinoBuilder
as alternatives tomaterial
andcupertino
onPlatformTabScaffold
so that the widgets can change properties on tab index change. see example/lib/tabbed/dynamicTabbedPage.dart. - Adds new polatform icons, thumb up and down and fix the star icon (thanks DFelten)
- Added
PlatformApp.router
to support Router 2.0
- fix export of MaterialModalSheetData and CupertinoModalSheetData (thanks in74mz)
- Used label instead of text for BottomNavigationBarItem in examples
- Removed deprecated android and ios parameters. Use material or cupertino instead
- Added widget parameters introduced in flutter version 1.22.0
- Added const to icons for treeshaking (thanks sck-v)
- Added contributers to ReadMe
- Upgrade to flutter version v1.20
- added
PlatformWidgetBuilder
which allows to use a platform specific as a parent widget for a child that is the same for both platforms. - Forced deprecation on widget arguments to make them more obvious
- Added more PlatformIcons (thanks mlava)
- added
cupertinoTabChildBuilder
toPlartformScaffold
in order to build cupertino tabs when they are viewed. (thanks AlexIver)
- Changed the enhancement of widgets to use an argument matching the style rather than platform.
android: (_){}
becomesmaterial: (_, __){}
andios: (_){}
becomescupertino: (_, __){}
. The second argument of the callback is nowPlatformTarget
which will allow a decision (if required) to return a different data object based on the platform. PlatformTarget
is similar to the flutterTargetPlatform
with the addition ofweb
.- The use of
android: (_){}
andios: (_){}
is now deprecated and will be removed in a future release. showPlatformModalSheet
andshowPlatformDialog
has deprecated arguments
- Added configurable platform style which allows each target platform to be either Material or Cupertino
- Added more platform icons (thanks mlava)
- Update widget arguments to match latest flutter widgets.
- Fixed issue with CupertinoPageScaffoldData (thanks josxha)
- Removed deprecated fields (thanks fredgrott)
- Added setIndex to PlatformTabScaffold (thanks GillesMontyne)
- Added more PlatformIcons (thanks mhaid)
- Added CupertinoFilledButton (thanks eyecreate)
- Fixed
PlatformButton
for androidFlatButton
to directly use color, disabledColor and padding properties that were missing
- Fix for
PlatformTextField
not allowing formaxLines
to be null which is required whenexpands
is true to enable multiline. (Thanks bangfalse)
- Fix for
PlatformTabScaffold
to use androidTabs properly. (Thanks abahnj)
- Update widget arguments to match latest flutter widgets.
- Fix for PlatformTabScaffold that would not pickup the right index or set a default value.
- Increased SDK verson to be ">=2.6.0 <3.0.0"
- Added PlatformIcons where Material and Cupertino icons are picked based on the platform
- Added PlatformTabScaffold to offer a simplier and more flexible platform tabbed page
- Updated PlatformTextField for Cupertino to support dark mode
- Removed Material from Cupertino Scaffold as it interfers with ios dark mode. If Material widgets are used on ios then this can be turned back on or add the Material widget to places that have it. Set iosUsesMaterialWidgets = true to retain behvour on the settings object passed in as an argument to
PlatformProvider
. - PlaformSlider for Cupertino uses Colors instead of CupertinoColors to match the underlying flutter widget
- Fixes the breaking change from flutter which causes the error:
The getter 'fullObstruction' isn't defined for the class 'ObstructingPreferredSizeWidget'.
- Updated all widgets compatible with Flutter v1.12.13+hotfix.5
- Fixed unselectedFontSize to be a double and not a bool
- Added a
Builder
to allow for children ofPlatformProvider
to get the Theme change on the builder argument.
- Switching of Platform based off theme. (thanks stefanrusek)
- From now on the only way to dynamically change the target platform is to use
PlatformProvider
PlatformIconButton
can now take a Widget instead of it having to be an Icon (thanks GillesMontyne)
- Updated all widgets compatible with Flutter v 1.9.1
- Added showPlatformModalSheet
- Added check for web to allow web to compile (thanks cbenhagen)
- Added PlatformProvider so that swicthing platforms can rebuild the tree
- Added Material Flat button option for PlatformButton (see Readme)
- Fixed example issue
- Added PlatformProvider so that swicthing platforms can rebuild the tree
- Due to pub.dev supporting only Stable channel, version 0.11.5 is not supported.
- Updated all widgets compatible with Flutter v 1.6.3
- Added Material Flat button option for PlatformButton (see Readme)
- Fixed example issue
- Due to pub.dev supporting only Stable channel, version 0.11.0 is not supported.
- Fix for PlatformIconButton and added field. Thanks ericmartineau
- Updated all widgets compatible with Flutter v1.5.4-hotfix.2
- Added other checks for platforms.
- Material = Android, Fuchsia, Windows, Linux
- Cupertino = iOS, MacOS
- Updated all widgets compatible with Flutter v 1.1.8
- Added CupertnoThemeData to PlatformApp to style iOS apps.
- If using PlatformScaffold on each page, no need to define Material widget when using Material widgets on the page
- Added PlatformSlider
- Fix for PlatformTextField keyboardType. Thanks furkantektas
- Added iosContentBottomPadding on PlatformScaffold to prevent the content going behind the navBar
- Optional android / ios builder for PlatformWidget. No need to specify both if only one if required.
- Updated README
- Added PlatformTextField
- Updated the minSDK version
- Moved example.dart up a level to appear on pubspec example page
- Added PlatformSwitch
- Added PlatformApp. Thanks cmengler
- Added showPlatformDialog which is required to be used if PlatformApp is used and you need to show dialogs
- Added platformPageRoute function to pick the right default route for the platform
- Redone the way PlaformScaffold renders Cupertino. Requires fluttter version 0.11+
- Added iosContentPadding to PlatformScaffold for iOS to push content down past the navigation (app) bar
- Caught up with latest flutter verison (0.9.4) adding extra widget properties.
- Fixed herotag issue when setting transitionBetweenRoutes to true
- Added transitionBetweenRoutes and heroTag as attributes to CupertinoNavigationBarData
- Fixed issue with AppBar padding
- Updated environment to support Dart 2
- Removed hasNotch to be compatible with the flutter develop branch
- Added PlatformCircularProgressIndicator
- Bug fixes
- Inital Release of Platform widgets