ioc_widget 1.0.0 copy "ioc_widget: ^1.0.0" to clipboard
ioc_widget: ^1.0.0 copied to clipboard

A simple, flexible, and testable dependency injection (DI) solution for Flutter, inspired by the best of both the Provider and get_it packages. Supports widget-level DI, transient and singleton strate [...]

1.0.0 #

Added #

  • Initial release of ioc_widget package.
  • InjectableWidget for transient dependencies.
  • LazySingletonWidget for lazy singleton dependencies.
  • MultiIocWidget for grouping multiple dependencies.
  • IocConsumer for scoped dependency access in builder context.
  • context.get
  • Example app demonstrating navigation and all features.
  • Comprehensive widget tests for all DI scenarios.
  • MIT License file added.
  • Complete README documentation and usage guide.
0
likes
150
points
554
downloads

Publisher

unverified uploader

Weekly Downloads

A simple, flexible, and testable dependency injection (DI) solution for Flutter, inspired by the best of both the Provider and get_it packages. Supports widget-level DI, transient and singleton strategies, and is ideal for scalable, testable, and maintainable Flutter apps.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ioc_widget