onix_flutter_mvvm library
Classes
-
Command<
T> -
Command0<
T> - Command without arguments. Takes a CommandAction0 as action.
-
Command1<
T, A> - Command with one argument. Takes a CommandAction1 as action.
-
Command2<
T, A, B> - Command with two arguments. Takes a CommandAction2 as action.
-
Command3<
T, A, B, C> - Command with three arguments. Takes a CommandAction3 as action.
- ViewModel
-
ViewModelStateful<
T> -
ViewModelWidget<
T extends StatefulWidget, V extends ViewModel>
Extensions
Typedefs
-
CommandAction0<
T> = Future< Result< Function()T> > -
CommandAction1<
T, A> = Future< Result< Function(A)T> > -
CommandAction2<
T, A, B> = Future< Result< Function(A, B)T> > -
CommandAction3<
T, A, B, C> = Future< Result< Function(A, B, C)T> > -
CommandBuilder<
T> = Widget Function(BuildContext context, Command< T> vm) -
ViewModelBuilder<
V extends ViewModel> = Widget Function(BuildContext context, V vm)