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.

Libraries

platform_app
platform_bar
platform_button
platform_scaffold
platform_theme
platform_widget