oinject 0.1.1 copy "oinject: ^0.1.1" to clipboard
oinject: ^0.1.1 copied to clipboard

A lightweight dependency injection package for Flutter, simplifying state and service management across widgets.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add oinject

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

dependencies:
  oinject: ^0.1.1

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:oinject/oinject.dart';
0
likes
160
pub points
0%
popularity

Publisher

verified publisherodroe.dev

A lightweight dependency injection package for Flutter, simplifying state and service management across widgets.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

_octr, flutter

More

Packages that depend on oinject