view_model_x 0.5.2 view_model_x: ^0.5.2 copied to clipboard
An Android similar state management package (StateFlow and SharedFlow with ViewModel) which helps to implement MVVM pattern easily.
0.5.2 #
Fixed Bugs and make package simpler
- ViewModelStatelessWidget removed
- Fixed StateFlow notifyOnSameValue
0.5.1 #
Easy to implement ViewModel and example improved
- ViewModelStatelessWidget added
- PostFrameCallback example added
- viewModelStatelessWidget example added
0.5.0 #
Provider extras added (Major Changes)
- Provider package added
- MultiViewModelProvider is now MultiProvider
- ChangeNotifierProvider added
0.4.1 #
PostFrameCallback added
- ViewModel can access onPostFrameCallback event
- ViewModel can access init event (initState)
0.4.0 #
Provider removed, Nested added
- MultiFlowListener added
- Example improved
- Documentation improved
- Nullable Listener Bug fixed
0.3.0 #
Starts using provider internally
- MultiViewModelProvider added
- Multiple ViewModel Example added
- Dependency added: provider 6.0.5
0.2.1 #
StateFlow updated
- notifyOnSameValue added
- github-pages setup for example
0.2.0 #
Builder, Consumer, and Listener Fixed
- Fixed Bug
- Fixed Library Name
- Fixed Repo URL
- Fixed Example Package Name
- Migrate ViewModelListener to StateFlowListener and SharedFlowListener
- Migrate ViewModelBuilder to StateFlowBuilder
- Migrate ViewModelConsumer to StateFlowConsumer
0.1.0 #
Initial version of the library
- ViewModel created
- StateFlow and MutableStateFlow created
- SharedFlow and MutableSharedFlow created
- ViewModelProvider created
- ViewModelBuilder, ViewModelConsumer and ViewModelListener created