Interface for RenderObjects to implement when they want to support being tapped, etc.
These handlers will only be called if the relevant flag is set
(e.g. handleSemanticTap will only be called if
SemanticsNode.canBeTapped
is true, handleSemanticScrollDown will only
be called if SemanticsNode.canBeScrolledVertically
is true, etc).
Constructors
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
performAction(
SemanticsAction action) → void -
Called when the object implementing this interface receives a SemanticsAction. For example, if the user of an accessibility tool instructs their device that they wish to tap a button, the RenderObject behind that button would have its performAction method called with the SemanticsAction.tap action.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited