view_models/inqvine_view_model library
Classes
Functions
-
useViewModel<
T extends BaseViewModel> (WidgetRef ref, T buildModel()) → T -
Registers a class extending
BaseViewModel
inside of the locator. This can be called inside any view extendingHookWidget
, causing lifecycle events to be pushed to the view model.