jetpack 1.0.0
jetpack: ^1.0.0 copied to clipboard
A set of abstractions, utilities inspired from android Jetpack to help manage state in flutter applications.
1.0.0 #
💫 New
- More optimal
context.getViewModel()andViewModelProvider.of(context)methods to acquireViewModel - Acquiring a
ViewModelis now safe inStatefulWidget.initState()
⚠️ Deprecated
context.viewModelProvider.get()- Usecontext.getViewModel()orViewModelProvider.of(context)instead
0.1.3 #
💫 New
EventListener and EventQueue for communicating events to UI
These events are expected to be used for ephemeral state changes to the UI like showing toasts, dialog etc.
0.1.2 #
Fixes
- Diagram formatting in
viewmodeldocumentation
0.1.1 #
💫 New
examplepublished to pub.dev
0.1.0 #
🚨 Breaking Changes
ViewModelScopeState->_ViewModelScopeState
💫 New Features
LiveDataListenerfor performing UI SideEffects onLiveDatavalue change
Bug fixes
- Fixed
ViewModels not being cleared offViewModelStoreondispose(Might not have mattered in terms of application memory usage, since those objects don't have any reference and would be garbage collected)
0.0.1 #
- Initial Release with
ViewModelandLiveData