GhosttyTerminalAutoScrollSession<MetricsT> class
final
Shared mutable auto-scroll session state for terminal widgets.
This keeps the timer and drag/layout context needed by selection auto-scroll flows while allowing each renderer to keep its own coordinate math.
Constructors
Properties
- direction → int
-
no setter
- dragPosition → Offset?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
no setter
- layoutSize → Size?
-
no setter
- metrics → MetricsT?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ensureTimer(
Duration period, void onTick()) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateDirection(
int direction) → void -
updateDragPosition(
Offset? dragPosition) → void -
updateLayout(
{required Size layoutSize, required MetricsT metrics}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited