platform_widgets 0.1.1
platform_widgets: ^0.1.1

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
60
pub points
34%
popularity

Publisher

flutterista.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

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_widgets