sputnik_di 0.2.3 copy "sputnik_di: ^0.2.3" to clipboard
sputnik_di: ^0.2.3 copied to clipboard

Lightweight Dependency Injection Framework for your Flutter project

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sputnik_di

With Flutter:

 $ flutter pub add sputnik_di

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

dependencies:
  sputnik_di: ^0.2.3

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:sputnik_di/sputnik_di.dart';
2
likes
150
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight Dependency Injection Framework for your Flutter project

Repository (GitHub)
View/report issues

Topics

#dependency-injection #inversion-of-control #ioc #container #utils

Documentation

API reference

Funding

Consider supporting this project:

boosty.to

License

BSD-3-Clause (license)

Dependencies

meta, rxdart

More

Packages that depend on sputnik_di