vader_di 0.3.0 copy "vader_di: ^0.3.0" to clipboard
vader_di: ^0.3.0 copied to clipboard

outdated

A simple dependency injection library for personal needs inspired by C# ninject fluent builder style.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add vader_di

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

dependencies:
  vader_di: ^0.3.0

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:vader_di/resolvers/di_resolver.dart';
import 'package:vader_di/resolvers/factory_resolver.dart';
import 'package:vader_di/resolvers/resolvers.dart';
import 'package:vader_di/resolvers/resolving_context.dart';
import 'package:vader_di/resolvers/singleton_resolver.dart';
import 'package:vader_di/resolvers/value_resolver.dart';
import 'package:vader_di/vader.dart';
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A simple dependency injection library for personal needs inspired by C# ninject fluent builder style.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, meta

More

Packages that depend on vader_di