flutter_example_template 0.2.0
flutter_example_template: ^0.2.0 copied to clipboard
An example-app shell for Flutter packages: a preview stage at three widths, a device wall, a code pane and a settings panel, all driven through ports so it names no subject.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_example_templateThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_example_template: ^0.2.0Alternatively, 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:flutter_example_template/flutter_example_template.dart';