mvvm_kit 0.11.0
mvvm_kit: ^0.11.0 copied to clipboard
A lightweight MVVM pattern implementation with LiveData for reactive state management in Flutter applications.
0.11.0 #
0.10.1 #
Refactor #
Breaking Changes
- Updated ViewState to use resolveViewModel() method for ViewModel retrieval.
Other
- Updated README documentation to reflect changes in ViewState for ViewModel injection strategy.
- Updated documentation for Service Locator.
0.9.1 #
Docs #
- Added version badge to README.md and API documentation index.html for better visibility of the current package version.
0.9.0 #
Breaking Changes #
- Changed default ViewModel creation strategy in ViewState to use createViewModel() method. This allows easier integration with different dependency injection strategies.
Service Locator #
- Added a minimalist built-in service locator
SLfor registering and retrieving ViewModel instances or other dependencies. - Updated README documentation to include examples of using the built-in service locator.
Other Improvements #
- Updated example views to demonstrate different ViewModel injection strategies using the built-in service locator, Provider, and GetIt.
- Improved code comments and documentation for better clarity on ViewModel management and dependency injection.
- Added tests for ViewModel, RepositoryData, and HotswapLiveData.
0.8.1 #
- Fixed typos in ViewModel documentation comments
- Removed deprecated parameters from RepositoryData transform method
- Updated RepositoryData tests to remove deprecated parameters
- Formatted files for consistency
0.8.0 #
- Initial release of mvvm_kit
- LiveData implementation for reactive state management
- MutableLiveData for mutable observable data
- HotswapLiveData for dynamic data source switching
- ViewModel base class with lifecycle management
- ViewState for connecting views to ViewModels
- Watch and GroupWatch widgets for observing LiveData changes
- DataScope for automatic resource management and disposal
- LiveData transformations: transform, filter, mirror
- RepositoryData pattern for data layer integration
- Comprehensive documentation and examples