enough_platform_widgets
More cross platform widgets for Flutter developers.
Based on these great packages:
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 materialTextFieldDensePlatformIconButtonreplaces the materialIconButtonDialogHelperhelps to show platform specific dialogsPlatformBottomBarshows aBottomAppBaron material and aCupertinoBaron cupertinoPlatformCheckboxListTileis a platform aware simple checkbox list tilePlatformChipa simple cross-platformChipreplacementPlatformDialogActionButtonis a platform aware dialog actionPlatformDialogActionTextprovides a platform aware dialog action textPlatformDropdownButtonis a replacement for the materialDropdownButtonPlatformFilledButtonIconuses anElevatedButton.filledon material and aCupertinoButton.filledon cupertinoPlatformInkWellis a rectangular area of a that responds to touch and is based either onInkWellor onCupertinoInkWellPlatformPageScaffoldprovides aPlatformScaffoldwith the additional option to define a bottom bar.PlatformPopupButtonuses an action sheet on cupertino and a popup button on material.PlatformProgressIndicatoruses aCircularProgressIndicatoron material and aCupertinoActivityIndicatoron cupertinoPlatformRadioListTileprovides a RadioListTile implementation for both material and cupertinoPlatformSliverAppBaruses aSliverAppBaron material or aCupertinoSliverNavigationBaron cupertinoPlatformSnackAppis a base app that allows to show SnackBars on cupertino as wellPlatformStepperabstracts theSteppermaterial widgetPlatformTextButtonIconis a simple replacement forTextButton.iconPlatformToggleButtonsprovides a platform awareToggleButtonsreplacementPlatformToolbarprovides a toolbar optionSelectablePlatformListTileprovides a ListTile implementation for both material and cupertinoshowPlatformTimePicker()displays a platform aware time pickershowPlatformDatePicker()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 backgroundCupertinoCheckboxListTileprovides a simple cupertino style checkbox list tileCupertinoChipis a cupertino version of the materialChipwidgetCupertinoDropdownButtonmaps the basic dropdown feature to aCupertinoPickerCupertinoInkWellis a rectangular area of a that responds to touchCupertinoMultipleSegmentedControlis like theCupertinoSegmentedControlbut it allows to select several segments at onceCupertinoPageScaffoldWithToolbarprovides a scaffold with the option to define a toolbar widgetCupertinoPageWithBaris a simple page with a bar that can be aligned top/bottom/left/rightCupertinoRadioListTileprovides a simple cupertino style radio list tileCupertinoSearchFlowTextFielddisplays a CupertinoSearchTextField with the expected UX flow that switches to a full-screen experience once editing startsCupertinoSnackAppis a CupertinoApp that also allows to display snack bar messagesCupertinoToolbara simple wrapper for a cupertino toolbar widget
Installation
Add this as a dependency to your pubspec.yaml:
dependencies:
enough_platform_widgets: ^0.7.2
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/