an_lifecycle_viewmodel 1.4.0
an_lifecycle_viewmodel: ^1.4.0 copied to clipboard
A package for managing ViewModel that depends on an_lifecycle. Similar to Androidx ViewModel.
1.4.0 #
- Will rename to an_viewmodel
1.3.0 #
- Provide extended viewModels for BuildContext to simplify usage.
1.2.0 #
- The new viewModelsByRef retrieves the same instance when there are references; when there are no references, it will clean up the ViewModel.
1.1.0 #
- ViewModels extension can directly specify the ViewModelProvider.
- Added a new extension for directly working with state: viewModelsOfState.
1.0.1 #
- Fix type exception in addDefFactory2.
- LifecycleOwner adds extension getViewModelProviderByApp getViewModelProviderByRoute.
1.0.0 #
- Add a new factory based on lifecycle
- The provider of the adjustment provider must be the Owner
0.0.1 #
- The first version migration is completed