easy_binding 0.0.1
easy_binding: ^0.0.1 copied to clipboard
A package for binding get_it to a widget or route.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2025-12-19 #
Added #
- Initial release of Easy Binding
EasyBindingabstract class for creating bindingsEasyBindingRoutewidget for wrapping pages with lifecycle management- Support for single binding with
bindingparameter - Support for multiple bindings with
bindingsparameter - Automatic
onInit()call when route is created - Automatic
onDispose()call when route is destroyed - Debug logging using
dart:developer - Error handling for initialization and disposal
- Complete documentation and examples
- Example app using GetIt for dependency injection
Features #
- Zero dependencies (Flutter SDK only)
- Framework-agnostic (works with any DI solution)
- Lightweight and performant
- Clean separation of concerns