module_provider 2.0.0 module_provider: ^2.0.0 copied to clipboard
Package to make it easy to build applications in the module structure, with service injection, components and state management with providers.
2.0.0 (New version) #
Made several adjustments that will cause code break when upgrading from version 1 to version 2;
- Improved service declaration in the module;
- Added support for navigation with routes;
- Removed the declaration of components and submodules in the module;
- Added future loading on modules and components;
- Improved the
ListProvider
to work like aList
; - Removed the parameter
module
from the component, to obtain the module, use thecontroller
of thecomponent
.
1.3.1 #
- Replaced
inheritFromWidgetOfExactType
deprecated method bydependOnInheritedWidgetOfExactType
.
1.3.0 #
- Added operator [] in ValuesProvider to get values.
1.3.0 #
- Added
initialize()
method inComponent
to allow the user to initialize something atComponent
initialization, this method is called only once before thebuild()
method.
1.2.0 #
- Added
initialize()
method inModule
to allow the user to initialize something atModule
initialization, this method is called only once before thebuild()
method.
1.1.0+3 #
- Removed '{@tool sample}' and '{@end-tool}' from documentation.
1.1.0+2 #
- Added documentation for package classes.
- Renamed parameter
value
inValuesProvider
methodbuild()
tovalues
. - Moved the
inject_manager.dart
file to the 'classes' folder.
1.1.0+1 #
- Updated README.md with another examples and descriptions.
1.1.0 #
- Removed Module parameter from the ValueConsumer and ServiceConsumer.
- Defined to consumers return direct the value in build function.
- Added ValuesConsumer to consume ValuesProvider.
- Updated lisense to "BSD 3-Clause License".
1.0.0 #
- Initial version.