nx_di 0.7.4 copy "nx_di: ^0.7.4" to clipboard
nx_di: ^0.7.4 copied to clipboard

retracted

A high-performance dependency injection library for Dart and Flutter. Features multi-profile support and serves as a drop-in replacement for get_it with enhanced capabilities.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate nx_di

Use it

The package has the following executables:

$ nx-migrate

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nx_di

With Flutter:

 $ flutter pub add nx_di

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

dependencies:
  nx_di: ^0.7.4

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:nx_di/nx_di.dart';
0
likes
0
points
299
downloads

Publisher

verified publishersmutech.net

Weekly Downloads

A high-performance dependency injection library for Dart and Flutter. Features multi-profile support and serves as a drop-in replacement for get_it with enhanced capabilities.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #service-locator #architecture #profiles #get-it

License

unknown (license)

Dependencies

args, flutter, meta

More

Packages that depend on nx_di