DartRocket - Container #
A simple yet powerful IoC Container for DartRocket. Its based on namespacing your objects so you can easily get their instance after.
How to Install #
You firstly needs to depend on it
dependencies: dartrocket_container: <1.0.0
And install it
For learning how to use check out this example on [how to create and use a new container] (https://github.com/DartRocket/container/example/start_container.dart).
All changes to this project will be documented in this file.
0.0.1-alpha - 2020-01-21 #
- Fixing dart pub naming conflict.
0.0.0-alpha - 2020-01-21 #
- Simple Readme on how to install and usage.
- Changelog to show this package growth.
- LICENSE that uses MIT License.
- Example on [how to create and use a new container] (https://github.com/DartRocket/container/example/start_container.dart).
- Container class to create an IoC structure.
- Binding class to have a way to access the services object instances.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: dartrocket_container: ^0.0.1-alpha
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 11, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
dartfmt to format
dartfmt to format
Package is pre-v0.1 release. (-10 points)
While nothing is inherently wrong with versions of
0.0.*, it might mean that the author is still experimenting with the general direction of the API.
Package is pre-release. (-5 points)
Pre-release versions should be used with caution; their API can change in breaking ways.
Maintain an example.
None of the files in the package's
example/ directory matches known example patterns.
Common filename patterns include
dartrocket_container.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.