view_model_x 0.5.0 copy "view_model_x: ^0.5.0" to clipboard
view_model_x: ^0.5.0 copied to clipboard

An Android similar state management package (StateFlow and SharedFlow with ViewModel) which helps to implement MVVM pattern easily.

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
9
likes
0
pub points
49%
popularity

Publisher

unverified uploader

An Android similar state management package (StateFlow and SharedFlow with ViewModel) which helps to implement MVVM pattern easily.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, provider

More

Packages that depend on view_model_x