ButtonEvent class abstract
Interactive events that Button can take on when receiving input from the user.
- Inheritance
-
- Object
- WidgetEvent
- ButtonEvent
Constructors
- ButtonEvent(String value)
-
const
Properties
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 ButtonEvent.disabled to be active.
override
-
isFocused(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.focused to be active.
override
-
isHovered(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.hovered to be active.
override
-
isIndeterminate(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.indeterminate to be active.
override
-
isLoading(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.loading to be active.
override
-
isPressed(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.pressed to be active.
override
-
isSelected(
Set< WidgetEvent> events) → bool -
Checker for whether events considers ButtonEvent.selected 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.
- loading → const WidgetEvent
- The state when the user is actively pressing down on the given widget.
- 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.