flutter_package_training 1.0.4 flutter_package_training: ^1.0.4 copied to clipboard
Flutter package training, the goal is to understand and demystify the use and creation of packages.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_package_training
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_package_training: ^1.0.4
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:flutter_package_training/flutter_package_training.dart';