StageTapEvent class

Inputs passed to OnStageTap when the displayed view receives a single- or double-tap. Carries the tap position plus the current/base/display rects at the moment of the tap.

Constructors

StageTapEvent({required Offset localPosition, required Offset globalPosition, required Rect currentRect, required Rect displayRect, required Rect baseRect, required double aspectRatio})
const

Properties

aspectRatio double
final
baseRect Rect
final
currentRect Rect
final
displayRect Rect
final
globalPosition Offset
final
hashCode int
The hash code for this object.
no setterinherited
insideRect bool
True if the tap landed inside the currently-displayed rect.
no setter
localPosition Offset
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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