A Flutter plugin for Platform specific widgets.
To use this plugin, add platform_widgets as a dependency in your pubspec.yaml file.
-
PlatformApp
returns CupertinoApp when iOS and MaterialApp when Android. -
PlatformTheme
'sios
property returns CupertinoThemeData andandroid
property returns ThemeData. -
PlatformScaffold
returns CupertinoPageScaffold when iOS and Scaffold when Android. -
PlatformBar
returns NavigationBar when iOS and AppBar when Android. -
PlatformButton
returns CupertinoButton when iOS and FlatButton when Android. -
PlatformSwitch
returns CupertinoSwitch when iOS and Switch when Android. -
PlatformSlider
returns CupertinoSlider when iOS and Slider when Android. -
PlatformIndicator
returns CupertinoActivityIndicator when iOS and CircularProgressIndicator when Android.