|
3 | 3 | More cross platform widgets for Flutter developers. |
4 | 4 |
|
5 | 5 | Based on these great packages: |
6 | | -* [flutter_platform_widgets]() |
7 | | -* [cupertino_list_tile]() |
8 | | -* [cupertino_stepper]() |
| 6 | +* [flutter_platform_widgets](https://pub.dev/packages/flutter_platform_widgets) |
| 7 | +* [cupertino_list_tile](https://pub.dev/packages/cupertino_list_tile) |
| 8 | +* [cupertino_stepper](cupertino_stepper) |
9 | 9 |
|
| 10 | +Licensed commercially friendly under the [MIT License](LICENSE). |
10 | 11 |
|
11 | | -## Platform Widgets |
| 12 | + |
| 13 | +## Platform Widgets and Methods |
12 | 14 | Platform widgets use their material or cupertino equivalent based on the chosen platform. |
13 | 15 |
|
| 16 | +* `DecoratedPlatformTextField` provides a cross platform replacement for the material `TextField` |
| 17 | +* `DialogHelper` helps to show platform specific dialogs |
| 18 | +* `PlatformBottomBar` shows a `BottomAppBar` on materal and a `CupertinoBar` on cupertino |
| 19 | +* `PlatformCheckboxListTile` is a platform aware simple checkbox list tile |
14 | 20 | * `PlatformChip` a simple cross-platform `Chip` replacement |
15 | | -* `PlatformIconButton` replaces the material `IconButon` |
16 | | -* `PlatformListTile` provides the material `TileBar` |
| 21 | +* `PlatformDialogActionButton` is a platform aware dialog action |
| 22 | +* `DropdownButton` is a replacement for the material `DropdownButton` |
| 23 | +* `PlatformFilledButtonIcon` uses an `ElevatedButton.filled` on material and a `CupertinoButton.filled` on cupertino |
| 24 | +* `DensePlatformIconButton` replaces the material `IconButon` |
| 25 | +* `PlatformListTile` provides either a `ListTile` or a `CupertinoListTile` |
17 | 26 | * `PlatformPageScaffold` provides a `PlatformScaffold` with the additional option to define a bottom bar. |
18 | 27 | * `PlatformPopupButton` uses an action sheet on cupertino and a popup button on material. |
| 28 | +* `PlatformProgressIndicator` uses a `CircularProgressIndicator` on material and a `CupertinoActivityIndicator` on cupertino |
| 29 | +* `PlatformRadioListTile` provides a RadioListTile implementation for both material and cupertino |
| 30 | +* `PlatformSliverAppBar` uses a `SliverAppBar` on material or a `CupertinoSliverNavigationBar` on cupertino |
| 31 | +* `PlatformSnackApp` is a base app that allows to show SnackBars on cupertino as well |
19 | 32 | * `PlatformStepper` abstracts the `Stepper` material widget |
20 | | -* `PlatformToolbar` provides a bottom bar option |
| 33 | +* `PlatformTextButtonIcon` is a simple replacement for `TextButton.icon` |
| 34 | +* `PlatformToggleButtons` provides a platform aware `ToggleButtons` replacement |
| 35 | +* `PlatformToolbar` provides a toolbar option |
| 36 | +* `showPlatformTimePicker()` displays a platform aware time picker |
| 37 | +* `showPlatformDatePicker()` displays a platform aware date picker |
| 38 | +* Additionally, all [flutter_platform_widgets](https://pub.dev/packages/flutter_platform_widgets) are available. |
21 | 39 |
|
22 | 40 | ## Cupertino Widgets |
23 | 41 | Currently the following cupertino widgets are provided: |
24 | | -* `CupertinoPageScaffoldWithToolbar` provides a scaffold that also supports a toolbar |
| 42 | +* `CupertinoBar` is a simple cupertino bar that either blurs the background or provides a translucent background |
| 43 | +* `CupertinoCheckboxListTile` provides a simple cupertino style checkbox list tile |
| 44 | +* `CupertinoChip` is a cupertino version of the material `Chip` widget |
| 45 | +* `CupertinoDropdownButton` maps the basic dropdown feature to a `CupertinoPicker` |
| 46 | +* `CupertinoMultipleSegmentedControl` is like the `CupertinoSegmentedControl` but it allows to select several segments at once |
| 47 | +* `CupertinoPageScaffoldWithToolbar` provides a scaffold with the option to define a toolbar widget |
| 48 | +* `CupertinoPageWithBar` is a simple page with a bar that can be aligned top/bottom/left/right |
| 49 | +* `CupertinoRadioListTile` provides a simple cupertino style radio list tile |
| 50 | +* `CupertinoSnackApp` is a CupertinoApp that also allows to display snack bar messages |
25 | 51 | * `CupertinoToolbar` a simple wrapper for a cupertino toolbar widget |
26 | 52 |
|
27 | | -## Usage |
| 53 | +## Installation |
28 | 54 | Add this as a dependency to your `pubspec.yaml`: |
29 | 55 | ``` |
30 | | -enough_platform_widgets: |
31 | | - git: |
32 | | - url: https://github.com/Enough-Software/enough_platform_widgets.git |
33 | | -``` |
| 56 | +dependencies: |
| 57 | + enough_platform_widgets: ^0.1.0 |
| 58 | +``` |
| 59 | + |
| 60 | +The latest version or `enough_platform_widgets` is [](https://pub.dartlang.org/packages/enough_platform_widgets). |
| 61 | + |
| 62 | + |
| 63 | +## API Documentation |
| 64 | +Check out the full API documentation at https://pub.dev/documentation/enough_platform_widgets/latest/ |
0 commit comments