enough_platform_widgets 0.1.0 copy "enough_platform_widgets: ^0.1.0" to clipboard
enough_platform_widgets: ^0.1.0 copied to clipboard

outdated

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 material TextField
  • DialogHelper helps to show platform specific dialogs
  • PlatformBottomBar shows a BottomAppBar on materal and a CupertinoBar on cupertino
  • PlatformCheckboxListTile is a platform aware simple checkbox list tile
  • PlatformChip a simple cross-platform Chip replacement
  • PlatformDialogActionButton is a platform aware dialog action
  • DropdownButton is a replacement for the material DropdownButton
  • PlatformFilledButtonIcon uses an ElevatedButton.filled on material and a CupertinoButton.filled on cupertino
  • DensePlatformIconButton replaces the material IconButon
  • PlatformListTile provides either a ListTile or a CupertinoListTile
  • PlatformPageScaffold provides a PlatformScaffold with the additional option to define a bottom bar.
  • PlatformPopupButton uses an action sheet on cupertino and a popup button on material.
  • PlatformProgressIndicator uses a CircularProgressIndicator on material and a CupertinoActivityIndicator on cupertino
  • PlatformRadioListTile provides a RadioListTile implementation for both material and cupertino
  • PlatformSliverAppBar uses a SliverAppBar on material or a CupertinoSliverNavigationBar on cupertino
  • PlatformSnackApp is a base app that allows to show SnackBars on cupertino as well
  • PlatformStepper abstracts the Stepper material widget
  • PlatformTextButtonIcon is a simple replacement for TextButton.icon
  • PlatformToggleButtons provides a platform aware ToggleButtons replacement
  • PlatformToolbar provides 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:

  • CupertinoBar is a simple cupertino bar that either blurs the background or provides a translucent background
  • CupertinoCheckboxListTile provides a simple cupertino style checkbox list tile
  • CupertinoChip is a cupertino version of the material Chip widget
  • CupertinoDropdownButton maps the basic dropdown feature to a CupertinoPicker
  • CupertinoMultipleSegmentedControl is like the CupertinoSegmentedControl but it allows to select several segments at once
  • CupertinoPageScaffoldWithToolbar provides a scaffold with the option to define a toolbar widget
  • CupertinoPageWithBar is a simple page with a bar that can be aligned top/bottom/left/right
  • CupertinoRadioListTile provides a simple cupertino style radio list tile
  • CupertinoSnackApp is a CupertinoApp that also allows to display snack bar messages
  • CupertinoToolbar a 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 enough_platform_widgets version.

API Documentation #

Check out the full API documentation at https://pub.dev/documentation/enough_platform_widgets/latest/