oinject 0.1.2 copy "oinject: ^0.1.2" to clipboard
oinject: ^0.1.2 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.2

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
150
points
21
downloads

Publisher

verified publisherodroe.dev

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

_octr, flutter

More

Packages that depend on oinject