VoidAction class

It's wrapper over an void action on screen. It may be a tap action

It is reactive.

Usage:

  SomeWidget(
    onTap: someAction,
  )

  someAction.action.listen(doSomething);
Inheritance

Constructors

VoidAction()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<void>
The stream to which the event is transmitted
no setteroverride

Methods

accept(void data) Future<void>
Acceptance of a new event
override
call() Future<void>
Call action
dispose() Future<void>
Close stream
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