veee library

Classes

ViewModel
A base ViewModel implementation.
ViewModelBuilder<T extends ViewModel>
Rebuilds children every time ViewModel of given type T changes.
ViewModelOrder
An order to the View from the ViewModel. (e.g. ShowSnackBar or PopRoute). See ViewModelWidget and ViewModelBuilder.
ViewModelProvider<T extends ViewModel>
A widget to provide a ViewModel to its descendants.
ViewModelProviderInheritedWidget<T extends ViewModel>
ViewModelWidget<T extends ViewModel>
A Widget subclass to simplify the creationg of Widgets that use a ViewModel higher up in the widget tree.

Mixins

BusyViewModel
A ViewModel that can be busy.
ErrorViewModel
A ViewModel that can have an error.

Extensions

BuildContextViewModelProviderExt on BuildContext
Extension method on BuildContext to make it easier to access ViewModels.