AnchorEvent class abstract

Interactive events that Anchor can take on when receiving input from the user.

Inheritance

Constructors

AnchorEvent(String value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

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

Static Methods

isDisabled(Set<WidgetEvent> events) bool
Checker for whether events considers AnchorEvent.disabled to be active.
override
isFocused(Set<WidgetEvent> events) bool
Checker for whether events considers AnchorEvent.focused to be active.
override
isHovered(Set<WidgetEvent> events) bool
Checker for whether events considers AnchorEvent.hovered to be active.
override
isPressed(Set<WidgetEvent> events) bool
Checker for whether events considers AnchorEvent.pressed to be active.
override

Constants

disabled → const WidgetEvent
The state when this widget is disabled and cannot be interacted with.
focused → const WidgetEvent
The state when the user navigates with the keyboard to a given widget.
hovered → const WidgetEvent
The state when the user drags their mouse cursor over the given widget.
pressed → const WidgetEvent
The state when the user is actively pressing down on the given widget.