scope_injector 1.0.1 copy "scope_injector: ^1.0.1" to clipboard
scope_injector: ^1.0.1 copied to clipboard

A Dependency Injection library, that provides a simple way to manage your dependencies.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add scope_injector

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  scope_injector: ^1.0.1

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:scope_injector/entry_point.dart';
import 'package:scope_injector/flutter_scope.dart';
import 'package:scope_injector/provider.dart';
import 'package:scope_injector/scoped_state.dart';
import 'package:scope_injector/subscription_handler.dart';
2
likes
140
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A Dependency Injection library, that provides a simple way to manage your dependencies.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scope_injector