jetpack 1.0.0 copy "jetpack: ^1.0.0" to clipboard
jetpack: ^1.0.0 copied to clipboard

outdated

A set of abstractions, utilities inspired from android Jetpack to help manage state in flutter applications.

1.0.0 #

πŸ’« New

  • More optimal context.getViewModel() and ViewModelProvider.of(context) methods to acquire ViewModel
  • Acquiring a ViewModel is now safe in StatefulWidget.initState()

⚠️ Deprecated

  • context.viewModelProvider.get() - Use context.getViewModel() or ViewModelProvider.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 viewmodel documentation

0.1.1 #

πŸ’« New

  • example published to pub.flutter-io.cn

0.1.0 #

🚨 Breaking Changes

  • ViewModelScopeState -> _ViewModelScopeState

πŸ’« New Features

  • LiveDataListener for performing UI SideEffects on LiveData value change

Bug fixes

  • Fixed ViewModels not being cleared off ViewModelStore on dispose (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 ViewModel and LiveData
15
likes
0
points
175
downloads

Publisher

verified publisherpraja.buzz

Weekly Downloads

A set of abstractions, utilities inspired from android Jetpack to help manage state in flutter applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, provider

More

Packages that depend on jetpack