peng 0.0.2 peng: ^0.0.2 copied to clipboard
This is optional for your own personal packages, but if you intend to publish your package you must provide a description, which should be in English. The description should be relatively.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add peng
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
peng: ^0.0.2
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:peng/peng.dart';