flutter_platform_widgets 1.20.0 copy "flutter_platform_widgets: ^1.20.0" to clipboard
flutter_platform_widgets: ^1.20.0 copied to clipboard

outdated

Simplifying the use of both Material and Cupertino widgets with a single widget

[1.20.0] - February 12, 2022 #

(Flutter version support: v2.10.0)

  • Added extra fields from Flutter 2.10.0

[1.12.1] - December 30, 2021 #

(Flutter version support: v2.5.3)

  • Fixed use of context for PlatformPopupMenu
  • Added doneLabel and cancelLabel to CupertinoDatePickerData

[1.12.0] - December 14, 2021 #

(Flutter version support: v2.5.3)

  • Added color property to PlatformTextButton and PlatformElevatedButton
  • Added cloud download and upload platform icons. (thanks rledisez)

[1.11.1] - November 23, 2021 #

(Flutter version support: v2.5.3)

  • Added a bit more of an example of how to implement a custom cupertino date picker.

[1.11.0] - November 19, 2021 #

(Flutter version support: v2.5.3)

  • Added PlatformPopupMenu to display a material PopupMenuButton or cupertino CupertinoActionSheet
  • Added showPlatformDatePicker to display a material date picker via showDatePicker or a custom cupertino date tumbler via showCupertinoModalPopup. For cupertino you can replace the default panel to render your own by implementing the widget builder argument cupertinoContentBuilder.

[1.10.0] - October 03, 2021 #

(Flutter version support: v2.5.3)

  • Added extra fields from Flutter 2.5
  • Added deprecation for PlatformButton. Please use PlatformElevatedButton or PlatformTextButton
  • Added deprecation on fields that are deprecated in Flutter widgets
  • Removed deprecated platform icons

[1.9.5] - June 09, 2021 #

(Flutter version support: v2.2)

  • Fixes issue where PlatformTextFormField could not set expands to true and maxLines to null.
  • Add new icons (thanks hanskokx)

[1.9.0] - May 26, 2021 #

(Flutter version support: v2.2)

  • PlatformDialogAction by default uses TextButton rather than FlatButton. If you wish to still use FlatButton set legacyMaterialDialogActionButtons on PlatformSettingsData which is set on PlatformProvider.

[1.8.1] - May 21, 2021 #

(Flutter version support: v2.2)

  • Added extra fields from Flutter 2.2
  • Removed deprecated field maxLengthEnforced from PlatformtextField. use maxLengthEnforcement instead

[1.8.0] - May 20, 2021 #

(Flutter version support: v2.2)

  • Add platformPage to use as part of Navigator's 2.0 implemention
  • Add makeCupertinoDecorationNull to PlatformtextField so cupertino's decoration field can be set to null rather than any default style. the default kDefaultRoundedBorderDecoration is now not private
  • Fix issue where PlatformTabController was not notifying when index changed.

[1.7.0, 1.7.1] - May 05, 2021 #

(Flutter version support: v2.0+)

  • Moved Material wrapper for cupertino under CupertinoScaffold and CuertinoTabScaffold so Material widgets can render for iOS when using PlatformApp. Need to have settings: PlatformSettingsData(iosUsesMaterialWidgets: true) on the PlatformProvider to enable. This may now render splash effect for Material widgets which would not occurred before. If this change is not needed then use settings: PlatformSettingsData(legacyIosUsesMaterialWidgets: true)
  • This setting can be disabled on a per PlatformScaffold basis for Cupertino. See noMaterialParent on PlatformAppBar cupertino data property
  • Added more PlatformIcons, dehaze, error, help and helpOutline (thanks mlava)

[1.6.0] - May 01, 2021 #

(Flutter version support: v2.0+)

  • Added platformThemeData to get access to the platform specific ThemeData more easily

[1.5.0] - April 28, 2021 #

(Flutter version support: v2.0+)

  • Added context.platformIcon and additional remove platform icons (thanks vincevargadev)

[1.4.1] - April 27, 2021 #

(Flutter version support: v2.0+)

  • Removed unmapped cupertino icons that show up as a 'question mark'

[1.4.0] - April 26, 2021 #

(Flutter version support: v2.0+)

  • Added PlatformTextFormField

[1.3.0] - April 23, 2021 #

(Flutter version support: v2.0+)

  • Added PlatformElevatedButton and PlatformTextButton which change to Flutter 2.0 Material elevated and text buttons. Cupertino buttons are unchanged, although now by default match Text > Text and Elevated > Filled
  • Updated the Example project
  • Start of documentation (github pages)

[1.2.0] - April 15, 2021 #

(Flutter version support: v2.0+)

  • Added hintText to PlatformTextField to easier set the hint of the field. Thanks slimyjimmy for the suggestion
  • Fixed issue with showPlatformDialog that did not show the BarrierColor for the material dialog.

[1.1.0] - March 22, 2021 #

(Flutter version support: v2.0)

  • Full null safety support.

[0.80.1] - March 18, 2021 #

(Flutter version support: v2.0)

  • fix for showPlatformDialog barrierDismissible
  • export PlatformTarget

[0.80.0] - March 04, 2021 #

(Flutter version support: v2.0)

  • Update to include additional params
  • Remove a deprecated field

[0.72.0] - December 03, 2020 #

(Flutter version support: v1.22.0 - v1.22.4)

  • Adds materialBuilder and cupertinoBuilder as alternatives to material and cupertino on PlatformTabScaffold 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)

[0.71.0] - November 08, 2020 #

(Flutter version support: v1.22.0 - v1.22.3)

  • Added PlatformApp.router to support Router 2.0

[0.70.2] - October 08, 2020 #

(Flutter version support: v1.22.0)

  • fix export of MaterialModalSheetData and CupertinoModalSheetData (thanks in74mz)

[0.70.1] - October 03, 2020 #

(Flutter version support: v1.22.0)

  • 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

[0.60.2] - August 22, 2020 #

(Flutter version support: v1.20.0 - v1.20.2)

  • Added const to icons for treeshaking (thanks sck-v)
  • Added contributers to ReadMe

[0.60.1] - August 05, 2020 #

(Flutter version support: v1.20)

  • Upgrade to flutter version v1.20

[0.51.0] - June 25, 2020 #

(Flutter version support: v1.17.0-v1.17.4)

  • 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)

[0.50.1] - June 09, 2020 #

(Flutter version support: v1.17.0-v1.17.3)

  • added cupertinoTabChildBuilder to PlartformScaffold in order to build cupertino tabs when they are viewed. (thanks AlexIver)

[0.50.0] - May 20, 2020 #

(Flutter version support: v1.17.0-v1.17.1)

  • Changed the enhancement of widgets to use an argument matching the style rather than platform. android: (_){} becomes material: (_, __){} and ios: (_){} becomes cupertino: (_, __){}. The second argument of the callback is now PlatformTarget which will allow a decision (if required) to return a different data object based on the platform.
  • PlatformTarget is similar to the flutter TargetPlatform with the addition of web.
  • The use of android: (_){} and ios: (_){} is now deprecated and will be removed in a future release.
  • showPlatformModalSheet and showPlatformDialog has deprecated arguments

[0.41.0] - May 18, 2020 #

(Flutter version support: v1.17.0-v1.17.1)

  • Added configurable platform style which allows each target platform to be either Material or Cupertino
  • Added more platform icons (thanks mlava)

[0.40.0] - May 07, 2020 #

(Flutter version support: v1.17.0)

  • 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)

[0.32.5] - March 24, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • Fixed PlatformButton for android FlatButton to directly use color, disabledColor and padding properties that were missing

[0.32.4] - January 21, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • Fix for PlatformTextField not allowing for maxLines to be null which is required when expands is true to enable multiline. (Thanks bangfalse)

[0.32.3] - January 19, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • Fix for PlatformTabScaffold to use androidTabs properly. (Thanks abahnj)

[0.32.2] - January 16, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • Update widget arguments to match latest flutter widgets.

[0.32.1] - January 15, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • Fix for PlatformTabScaffold that would not pickup the right index or set a default value.

[0.32.0] - January 14, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • 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

[0.31.0] - January 09, 2020 #

(Flutter version support: v1.12.13+hotfix.5)

  • 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

[0.30.1] - December 11, 2019 #

(Flutter version support: v1.12.13+hotfix.5)

  • 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

[0.20.2] - October 12, 2019 #

(Flutter version support: v1.9.1+hotfix.2)

  • Fixed unselectedFontSize to be a double and not a bool

[0.20.1] - September 23, 2019 #

(Flutter version support: v1.9.1+hotfix.2)

  • Added a Builder to allow for children of PlatformProvider to get the Theme change on the builder argument.

[0.20.0] - September 16, 2019 #

(Flutter version support: v1.9.1+hotfix.2)

  • 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)

[0.13.0] - September 13, 2019 #

(Flutter version support: v1.9.1+hotfix.2)

  • Updated all widgets compatible with Flutter v 1.9.1
  • Added showPlatformModalSheet
  • Added check for web to allow web to compile (thanks cbenhagen)

[0.12.0] - June 24, 2019 #

(Flutter version support: v1.5.4-hotfix.2)

  • Added PlatformProvider so that swicthing platforms can rebuild the tree
  • Added Material Flat button option for PlatformButton (see Readme)
  • Fixed example issue

[0.11.5] - June 23, 2019 (Do not use) #

(Flutter version support: v1.6.3)

  • 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.

[0.11.0] - June 22, 2019 (Do not use) #

(Flutter version support: v1.6.3)

  • 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.

[0.10.0] - May 12, 2019 #

(Flutter version support: v1.5.4-hotfix.2)

  • Fix for PlatformIconButton and added field. Thanks ericmartineau
  • Updated all widgets compatible with Flutter v1.5.4-hotfix.2

[0.9.6] - May 03, 2019 #

(Flutter version support: v1.1.8)

  • Added other checks for platforms.
    • Material = Android, Fuchsia, Windows, Linux
    • Cupertino = iOS, MacOS

[0.9.5] - Feb 07, 2019 #

(Flutter version support: v1.1.8)

  • 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

[0.9.0] - Jan 30, 2019 #

(Flutter version support: v1.0.0)

  • Added PlatformSlider

[0.8.3] - Jan 30, 2019 #

(Flutter version support: v1.0.0)

  • Fix for PlatformTextField keyboardType. Thanks furkantektas

[0.8.2] - Jan 29, 2019 #

(Flutter version support: v1.0.0)

  • 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.

[0.8.1] - Jan 20, 2019 #

(Flutter version support: v1.0.0)

  • Updated README

[0.8.0] - Jan 19, 2019 #

(Flutter version support: v1.0.0)

  • Added PlatformTextField

[0.7.1] - Jan 18, 2019 #

(Flutter version support: v1.0.0)

  • Updated the minSDK version
  • Moved example.dart up a level to appear on pubspec example page

[0.7.0] - Jan 18, 2019 #

(Flutter version support: v1.0.0)

  • Added PlatformSwitch

[0.6.0] - Jan 17, 2019 #

(Flutter version support: v1.0.0)

  • 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

[0.5.0] - Nov 30, 2018 #

(Flutter version support: v1.0.0)

  • 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

[0.4.0] - Oct 27, 2018 #

(Flutter version support: v0.9.4)

  • Caught up with latest flutter verison (0.9.4) adding extra widget properties.

[0.3.4] - Oct 11, 2018 #

  • Fixed herotag issue when setting transitionBetweenRoutes to true

[0.3.3] - Oct 11, 2018 #

  • Added transitionBetweenRoutes and heroTag as attributes to CupertinoNavigationBarData

[0.3.2] - Oct 09, 2018 #

  • Fixed issue with AppBar padding

[0.3.1] - Aug 24, 2018 #

  • Updated environment to support Dart 2

[0.3.0] - Aug 13, 2018 #

  • Removed hasNotch to be compatible with the flutter develop branch

[0.2.0] - May 16, 2018 #

  • Added PlatformCircularProgressIndicator

[0.1.1 - 0.1.4] #

  • Bug fixes

[0.1.0] - May 11, 2018 #

  • Inital Release of Platform widgets
1128
likes
80
pub points
98%
popularity

Publisher

verified publisherstryder.dev

Simplifying the use of both Material and Cupertino widgets with a single widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_platform_widgets