flutterpackage_by_sam 0.0.1 flutterpackage_by_sam: ^0.0.1 copied to clipboard
First flutter package
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutterpackage_by_sam
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutterpackage_by_sam: ^0.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:flutterpackage_by_sam/flutterpackage.dart';
import 'package:flutterpackage_by_sam/my_navigator.dart';
import 'package:flutterpackage_by_sam/walkthrough.dart';