multi_platform_widget 1.0.1 multi_platform_widget: ^1.0.1 copied to clipboard
A package which allows creating different widgets for each platform supported by Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add multi_platform_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
multi_platform_widget: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:multi_platform_widget/multi_platform_widget.dart';