MouseEvent class

Mouse event for terminal interactions

Constructors

MouseEvent({required MouseButton button, required int x, required int y, required bool pressed, bool isMotion = false, Set<MouseButton> buttons = const {}})
const

Properties

button MouseButton
final
buttons Set<MouseButton>
The set of mouse buttons currently held down (enriched by MouseTracker).
final
hashCode int
The hash code for this object.
no setterinherited
isMotion bool
final
isPrimaryButtonDown bool
Whether the primary (left) button is currently held down.
no setter
pressed bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x int
final
y int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited