platform_widgets 0.1.0

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  platform_widgets: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:platform_widgets/base/platform_app.dart';
import 'package:platform_widgets/base/platform_widget.dart';
import 'package:platform_widgets/platform_bar.dart';
import 'package:platform_widgets/platform_button.dart';
import 'package:platform_widgets/platform_scaffold.dart';
6
likes
60
pub points
35%
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

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_widgets