SwitchEvent class abstract

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

Inheritance

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 SwitchEvent.disabled to be active.
override
isFocused(Set<WidgetEvent> events) bool
Checker for whether events considers SwitchEvent.focused to be active.
override
isHovered(Set<WidgetEvent> events) bool
Checker for whether events considers SwitchEvent.hovered to be active.
override
isIndeterminate(Set<WidgetEvent> events) bool
Checker for whether events considers SwitchEvent.indeterminate to be active.
override
isPressed(Set<WidgetEvent> events) bool
Checker for whether events considers SwitchEvent.pressed to be active.
override
isSelected(Set<WidgetEvent> events) bool
Checker for whether events considers CheckboxEvent.selectedStyle 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.
indeterminate → const WidgetEvent
The state when this item has been indeterminate.
pressed → const WidgetEvent
The state when the user is actively pressing down on the given widget.
selected → const WidgetEvent
The event when this widget has been selected.