honeycomb 0.9.1+1 copy "honeycomb: ^0.9.1+1" to clipboard
honeycomb: ^0.9.1+1 copied to clipboard

discontinuedreplaced by: vessel

IoC-Container written in pure Dart with Flutter in mind. Provides compile-time checks, typed factories, scoping and much more.

example/honeycomb_example.dart

import 'package:honeycomb/honeycomb.dart';

final defaultMaxHealthProvider = Provider((_) => 100);

final maxHealthProvider = Provider((read) => read(defaultMaxHealthProvider));

void main(List<String> args) {
  final container = ProviderContainer();
  print(container.read(maxHealthProvider)); // 100
}
5
likes
130
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

IoC-Container written in pure Dart with Flutter in mind. Provides compile-time checks, typed factories, scoping and much more.

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on honeycomb