UiContourReleaseAction class

One action released by a UiContourRelease trigger.

A null onPressed renders a genuinely disabled control — correct appearance, pointer behavior, focus behavior, and semantics all come from UiIconButton's own disabled contract. UiContourRelease never substitutes a non-null closure for a null callback.

Annotations

Constructors

UiContourReleaseAction({required Widget icon, required String semanticsLabel, required VoidCallback? onPressed})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
final
onPressed VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel String
final

Methods

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