Command1<T> class

Command with Argument

Inheritance

Constructors

Command1({required Future<void> action(T arg), bool canExecute() = _defaultCanExecute})
Command with Argument

Properties

canExecute → bool Function()
finalinherited
error ↔ Object?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → FlutterSignal<CommandStatus>
finalinherited

Methods

dispose() → void
inherited
execute(T arg) → Future<void>
Execute the command
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited