Last updated:
0 purchases
ioc flow
A package that offers a declarative way for inversion of control and allows refreshing dependencies
in the ioc container automatically, it also features a tag to each dependency, such that you can
choose to refresh dependencies that subscribe to a specific tag
Features #
Serves as a service locator
Refresh dependencies manually and automatically (stream)
refresh specific dependencies by tag
Getting started #
In your pubspec.yaml file within your Flutter Project:
dependencies:
ioc_container: ^0.0.1+1-alpha
copied to clipboard
or
$ flutter pub add ioc_container
copied to clipboard
Then import the package in your code:
import 'package:ioc_container/ioc_container.dart';
copied to clipboard
Usage #
const like = 'sample';
copied to clipboard
Additional information #
To create issues, prs or otherwise contribute in anyway check out
the package repository home
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.