platform_widgets 0.1.1 copy "platform_widgets: ^0.1.1" to clipboard
platform_widgets: ^0.1.1 copied to clipboard

A Flutter plugin for Platform widgets. This package simplifies the usage of specific widgets for both Android and iOS.

Platform Widgets #

Flutter Dart

A Flutter plugin for Platform specific widgets.

Usage #

To use this plugin, add platform_widgets as a dependency in your pubspec.yaml file.

Available Widgets #

  • PlatformApp returns CupertinoApp when iOS and MaterialApp when Android.

  • PlatformTheme's ios property returns CupertinoThemeData and android property returns ThemeData.

  • PlatformScaffold returns CupertinoPageScaffold when iOS and Scaffold when Android.

  • PlatformButton returns CupertinoButton when iOS and FlatButton when Android.

  • PlatformBar returns NavigationBar when iOS and AppBar when Android.

6
likes
40
pub points
0%
popularity

Publisher

verified publisherflutterista.dev

A Flutter plugin for Platform widgets. This package simplifies the usage of specific widgets for both Android and iOS.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on platform_widgets