leonard_contract 0.1.0
leonard_contract: ^0.1.0 copied to clipboard
Pure-Dart extension contract for Leonard — the Flutter-free types a host (Flutter binding or non-Flutter VM-service host) implements and exposes.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add leonard_contractWith Flutter:
$ flutter pub add leonard_contractThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
leonard_contract: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:leonard_contract/leonard_contract.dart';