sunny_kiwi 0.3.0+1 sunny_kiwi: ^0.3.0+1 copied to clipboard
A fork of the simple yet efficient IoC container for Dart and Flutter (can be coupled with the kiwi_generator package).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sunny_kiwi
With Flutter:
$ flutter pub add sunny_kiwi
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
sunny_kiwi: ^0.3.0+1
Alternatively, 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:sunny_kiwi/sunny_kiwi.dart';