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
MapConsumer
andMapProvider
2.3.2 #
- Fixed issues with
setValue
andgetValue
methods 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
getValue
andsetValue
method when an array of fields was passed, used when there is a data hierarchy withList
andMap
.
2.1.0 #
- Added the types of returns in the
ValueProvider
andValuesProvider
methods; - Improvement in the
getValue
method ofValuesProvider
when the value of the field is aMap
orList
.
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
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.