v1.1.2
enough_platform_widgets
用於開發具有Cupertino和Material設計的Flutter應用的實用平台感知組件。
41喜歡 1900近 30 天下載50Pub 分數
平台暫無資料
更多跨平台組件用於 Flutter。擴展了 flutter_platform_widgets。
^0.2.1^0.2.0{"sdk":"flutter"}^10.0.1{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
enough_platform_widgets version
More cross platform widgets for Flutter developers.
Based on these great packages:
Licensed commercially friendly under the MIT License.
Add this as a dependency to your pubspec.yaml:
dependencies:
enough_platform_widgets: ^1.0.0
Platform widgets use their material or cupertino equivalent based on the chosen platform.
DecoratedPlatformTextField provides a cross platform replacement for the material TextFieldDensePlatformIconButton replaces the material IconButtonDialogHelper helps to show platform specific dialogsPlatformBottomBar shows a BottomAppBar on material and a CupertinoBar on cupertinoPlatformCheckboxListTile is a platform aware simple checkbox list tilePlatformChip a simple cross-platform Chip replacementPlatformDialogActionButton is a platform aware dialog actionPlatformDialogActionText provides a platform aware dialog action textPlatformDropdownButton is a replacement for the material DropdownButtonPlatformFilledButtonIcon uses an ElevatedButton.filled on material and a CupertinoButton.filled on cupertinoPlatformInkWell is a rectangular area of a that responds to touch and is based either on InkWell or on CupertinoInkWellPlatformPageScaffold 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 cupertinoPlatformRadioListTile provides a RadioListTile implementation for both material and cupertinoPlatformSliverAppBar uses a SliverAppBar on material or a CupertinoSliverNavigationBar on cupertinoPlatformSnackApp is a base app that allows to show SnackBars on cupertino as wellPlatformStepper abstracts the Stepper material widgetPlatformTextButtonIcon is a simple replacement for TextButton.iconPlatformToggleButtons provides a platform aware ToggleButtons replacementPlatformToolbar provides a toolbar optionSelectablePlatformListTile provides a ListTile implementation for both material and cupertinoshowPlatformTimePicker() displays a platform aware time pickershowPlatformDatePicker() displays a platform aware date pickerCurrently 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 material Chip widgetCupertinoDropdownButton maps the basic dropdown feature to a CupertinoPickerCupertinoInkWell is a rectangular area of a that responds to touchCupertinoMultipleSegmentedControl is like the CupertinoSegmentedControl 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 widgetCheck out the full API documentation at https://pub.dev/documentation/enough_platform_widgets/latest/
Made with contrib.rocks.