an_lifecycle_viewmodel 1.4.0 copy "an_lifecycle_viewmodel: ^1.4.0" to clipboard
an_lifecycle_viewmodel: ^1.4.0 copied to clipboard

discontinuedreplaced by: an_viewmodel

A package for managing ViewModel that depends on an_lifecycle. Similar to Androidx ViewModel.

1.4.0 #

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
1
likes
160
points
84
downloads

Publisher

verified publisheraymtools.com

Weekly Downloads

A package for managing ViewModel that depends on an_lifecycle. Similar to Androidx ViewModel.

Repository (GitHub)
View/report issues

Topics

#viewmodel #view-model #viewmodels

Documentation

API reference

License

MIT (license)

Dependencies

an_viewmodel, flutter

More

Packages that depend on an_lifecycle_viewmodel