module_provider 2.4.0
module_provider: ^2.4.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.4.0 #
- Implemented
MapConsumerandMapProvider
2.3.2 #
- Fixed issues with
setValueandgetValuemethods ofValuesProvider
2.3.1 #
- Update in the file '.gitignore' not to comit 'pubspec.lock'
- Deleted the file 'pubspec.lock'
2.3.0 #
- Added check to see if one of the valuesprovider map objects is a 'ValuesProvider' when setting a new value
2.2.1+1 #
- Adjusted List initialization according to documentation.
2.2.1 #
- Added 'forceNotifyListeners' method in 'ValueProvider', 'ValuesProvider', and 'ListProvider', to force listeners to refresh even without modifying the value of the provider.
- Correction made by getting values from 'ValuesProvider' by the 'getValues' method
- Reported types of returns in some methods.
2.1.1 #
- Fixed the
getValueandsetValuemethod when an array of fields was passed, used when there is a data hierarchy withListandMap.
2.1.0 #
- Added the types of returns in the
ValueProviderandValuesProvidermethods; - Improvement in the
getValuemethod ofValuesProviderwhen the value of the field is aMaporList.
2.0.0+1 #
- Updated package icon in the documentation.
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
ListProviderto work like aList; - Removed the parameter
modulefrom the component, to obtain the module, use thecontrollerof thecomponent.
1.3.1 #
- Replaced
inheritFromWidgetOfExactTypedeprecated method bydependOnInheritedWidgetOfExactType.
1.3.0 #
- Added operator [] in ValuesProvider to get values.
1.3.0 #
- Added
initialize()method inComponentto allow the user to initialize something atComponentinitialization, this method is called only once before thebuild()method.
1.2.0 #
- Added
initialize()method inModuleto allow the user to initialize something atModuleinitialization, 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
valueinValuesProvidermethodbuild()tovalues. - Moved the
inject_manager.dartfile 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.