presentation/presentation library
Classes
-
Command<
T> - Facilitates interaction with a view model.
-
Command0<
T> - A Command that accepts no arguments.
-
Command1<
T, A> - A Command that accepts one argument.
-
Completed<
T> -
Error<
T> -
Initial<
T> - NoneViewModel
-
Running<
T> -
StatefulViewModel<
State> - StatelessViewModel
- ViewModel
-
ViewModelState<
T> -
ViewState<
T extends StatefulWidget, V extends StatelessViewModel>
Typedefs
-
CommandAction0<
T> = Future< T> Function() -
Defines a command action that returns a ViewModelState of type
T. Used by Command0 for actions without arguments. -
CommandAction1<
T, A> = Future< T> Function(A) -
Defines a command action that returns a ViewModelState of type
T. Takes an argument of typeA. Used by Command1 for actions with one argument.