enough_platform_widgets 0.4.0 enough_platform_widgets: ^0.4.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:
Licensed commercially friendly under the MIT License.
Platform Widgets and Methods #
Platform widgets use their material or cupertino equivalent based on the chosen platform.
DecoratedPlatformTextField
provides a cross platform replacement for the materialTextField
DialogHelper
helps to show platform specific dialogsPlatformBottomBar
shows aBottomAppBar
on materal and aCupertinoBar
on cupertinoPlatformCheckboxListTile
is a platform aware simple checkbox list tilePlatformChip
a simple cross-platformChip
replacementPlatformDialogActionButton
is a platform aware dialog actionPlatformDialogActionText
provides a platform aware dialog action textDropdownButton
is a replacement for the materialDropdownButton
PlatformFilledButtonIcon
uses anElevatedButton.filled
on material and aCupertinoButton.filled
on cupertinoDensePlatformIconButton
replaces the materialIconButon
PlatformInkWell
is a rectangular area of a that responds to touch and is based either onInkWell
or onCupertinoInkWell
PlatformListTile
provides either aListTile
or aCupertinoListTile
PlatformPageScaffold
provides aPlatformScaffold
with the additional option to define a bottom bar.PlatformPopupButton
uses an action sheet on cupertino and a popup button on material.PlatformProgressIndicator
uses aCircularProgressIndicator
on material and aCupertinoActivityIndicator
on cupertinoPlatformRadioListTile
provides a RadioListTile implementation for both material and cupertinoPlatformSliverAppBar
uses aSliverAppBar
on material or aCupertinoSliverNavigationBar
on cupertinoPlatformSnackApp
is a base app that allows to show SnackBars on cupertino as wellPlatformStepper
abstracts theStepper
material widgetPlatformTextButtonIcon
is a simple replacement forTextButton.icon
PlatformToggleButtons
provides a platform awareToggleButtons
replacementPlatformToolbar
provides a toolbar optionshowPlatformTimePicker()
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:
CupertinoBar
is a simple cupertino bar that either blurs the background or provides a translucent backgroundCupertinoCheckboxListTile
provides a simple cupertino style checkbox list tileCupertinoChip
is a cupertino version of the materialChip
widgetCupertinoDropdownButton
maps the basic dropdown feature to aCupertinoPicker
CupertinoInkWell
is a rectangular area of a that responds to touchCupertinoMultipleSegmentedControl
is like theCupertinoSegmentedControl
but it allows to select several segments at onceCupertinoPageScaffoldWithToolbar
provides a scaffold with the option to define a toolbar widgetCupertinoPageWithBar
is a simple page with a bar that can be aligned top/bottom/left/rightCupertinoRadioListTile
provides a simple cupertino style radio list tileCupertinoSearchFlowTextField
displays a CupertinoSearchTextField with the expected UX flow that switches to a full-screen experience once editing startsCupertinoSnackApp
is a CupertinoApp that also allows to display snack bar messagesCupertinoToolbar
a simple wrapper for a cupertino toolbar widget
Installation #
Add this as a dependency to your pubspec.yaml
:
dependencies:
enough_platform_widgets: ^0.2.0
The latest version or enough_platform_widgets
is .
API Documentation #
Check out the full API documentation at https://pub.dev/documentation/enough_platform_widgets/latest/