lite_ref 0.8.1 copy "lite_ref: ^0.8.1" to clipboard
lite_ref: ^0.8.1 copied to clipboard

A lightweight dependency injection package with support for overriding for testing.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lite_ref
copied to clipboard

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

dependencies:
  lite_ref: ^0.8.1
copied to clipboard

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:lite_ref/lite_ref.dart';
copied to clipboard
24
likes
150
points
267
downloads

Publisher

verified publishernosy.dev

Weekly Downloads

2024.09.21 - 2025.04.05

A lightweight dependency injection package with support for overriding for testing.

Repository (GitHub)

Topics

#dependency-injection #provider #di

Documentation

API reference

License

MIT (license)

Dependencies

basic_interfaces, flutter, lite_ref_core

More

Packages that depend on lite_ref