MouseButton enum

Inheritance
Available extensions

Values

left → const MouseButton
const MouseButton(.MOUSE_BUTTON_LEFT)
const MouseButton(.MOUSE_BUTTON_RIGHT)
middle → const MouseButton
const MouseButton(.MOUSE_BUTTON_MIDDLE)
side → const MouseButton
const MouseButton(.MOUSE_BUTTON_SIDE)
extra → const MouseButton
const MouseButton(.MOUSE_BUTTON_EXTRA)
forward → const MouseButton
const MouseButton(.MOUSE_BUTTON_FORWARD)
back → const MouseButton
const MouseButton(.MOUSE_BUTTON_BACK)

Properties

code → MouseButton
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isDown bool

Available on MouseButton, provided by the MouseButtonExt extension

no setter
isPressed bool

Available on MouseButton, provided by the MouseButtonExt extension

no setter
isReleased bool

Available on MouseButton, provided by the MouseButtonExt extension

no setter
isUp bool

Available on MouseButton, provided by the MouseButtonExt extension

no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
no setter

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

fromValue(int value) MouseButton

Constants

values → const List<MouseButton>
A constant List of the values in this enum, in order of their declaration.