provide_it 0.20.0
provide_it: ^0.20.0 copied to clipboard
Provider-like state binding, management, and injection using only context extensions.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add provide_itWith Flutter:
$ flutter pub add provide_itThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
provide_it: ^0.20.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:provide_it/provide_it.dart';