ScrollEvent class

A scroll delta from indirect input: a wheel, or a trackpad gesture the platform already classified as a scroll. Direct touch stays on the pointer path.

Constructors

ScrollEvent({required Vec2D delta, ScrollPhase phase = ScrollPhase.update, bool precise = false})

Properties

delta → Vec2D
Distance the content moves, in artboard-space pixels; revealing later content is negative. Hosts normalize; the runtime never sees platform units.
final
hashCode → int
The hash code for this object.
no setterinherited
phase → ScrollPhase
final
precise → bool
Pixel-precise source (trackpad) rather than a detented wheel.
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