cowpay 0.0.3 cowpay: ^0.0.3 copied to clipboard
This document is a guide to the example project included in the plugin files. In addition, following the below steps will help you learn how to add and use (Cowpay plugin) in your flutter application..
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cowpay
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
cowpay: ^0.0.3
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:cowpay/cowpay.dart';