enough_platform_widgets 0.1.0  enough_platform_widgets: ^0.1.0 copied to clipboard
enough_platform_widgets: ^0.1.0 copied to clipboard
Useful platform aware widgets to bring a Material app to Cupertino.
enough_platform_widgets #
More cross platform widgets for Flutter developers.
Based on these great packages:
- flutter_platform_widgets
- cupertino_list_tile
- cupertino_stepper
Licensed commercially friendly under the MIT License.
Platform Widgets and Methods #
Platform widgets use their material or cupertino equivalent based on the chosen platform.
- DecoratedPlatformTextFieldprovides a cross platform replacement for the material- TextField
- DialogHelperhelps to show platform specific dialogs
- PlatformBottomBarshows a- BottomAppBaron materal and a- CupertinoBaron cupertino
- PlatformCheckboxListTileis a platform aware simple checkbox list tile
- PlatformChipa simple cross-platform- Chipreplacement
- PlatformDialogActionButtonis a platform aware dialog action
- DropdownButtonis a replacement for the material- DropdownButton
- PlatformFilledButtonIconuses an- ElevatedButton.filledon material and a- CupertinoButton.filledon cupertino
- DensePlatformIconButtonreplaces the material- IconButon
- PlatformListTileprovides either a- ListTileor a- CupertinoListTile
- PlatformPageScaffoldprovides a- PlatformScaffoldwith the additional option to define a bottom bar.
- PlatformPopupButtonuses an action sheet on cupertino and a popup button on material.
- PlatformProgressIndicatoruses a- CircularProgressIndicatoron material and a- CupertinoActivityIndicatoron cupertino
- PlatformRadioListTileprovides a RadioListTile implementation for both material and cupertino
- PlatformSliverAppBaruses a- SliverAppBaron material or a- CupertinoSliverNavigationBaron cupertino
- PlatformSnackAppis a base app that allows to show SnackBars on cupertino as well
- PlatformStepperabstracts the- Steppermaterial widget
- PlatformTextButtonIconis a simple replacement for- TextButton.icon
- PlatformToggleButtonsprovides a platform aware- ToggleButtonsreplacement
- PlatformToolbarprovides a toolbar option
- showPlatformTimePicker()displays a platform aware time picker
- showPlatformDatePicker()displays a platform aware date picker
- Additionally, all flutter_platform_widgets are available.
Cupertino Widgets #
Currently the following cupertino widgets are provided:
- CupertinoBaris a simple cupertino bar that either blurs the background or provides a translucent background
- CupertinoCheckboxListTileprovides a simple cupertino style checkbox list tile
- CupertinoChipis a cupertino version of the material- Chipwidget
- CupertinoDropdownButtonmaps the basic dropdown feature to a- CupertinoPicker
- CupertinoMultipleSegmentedControlis like the- CupertinoSegmentedControlbut it allows to select several segments at once
- CupertinoPageScaffoldWithToolbarprovides a scaffold with the option to define a toolbar widget
- CupertinoPageWithBaris a simple page with a bar that can be aligned top/bottom/left/right
- CupertinoRadioListTileprovides a simple cupertino style radio list tile
- CupertinoSnackAppis a CupertinoApp that also allows to display snack bar messages
- CupertinoToolbara simple wrapper for a cupertino toolbar widget
Installation #
Add this as a dependency to your pubspec.yaml:
dependencies:
  enough_platform_widgets: ^0.1.0
The latest version or enough_platform_widgets is .
API Documentation #
Check out the full API documentation at https://pub.flutter-io.cn/documentation/enough_platform_widgets/latest/