HintOverlayEngine class
Tour render mechanics: mounts a single OverlayEntry, draws the scrim
hole via CompositedTransformFollower (target position from the
compositor), places the tooltip, handles tap-on-overlay and keyboard.
Implements the HintOverlayHost contract from controller.dart: the
controller does not know what the overlay looks like or where the
OverlayState comes from — the engine captures it itself (the root
overlay of the first registered target), or receives it explicitly via
overlay for fully-deferred scenarios (zero mounted targets). User input
(next/skip/finish) goes into HintActions — the controller implements it.
- Implemented types
Constructors
- HintOverlayEngine({required HintTargetRegistry registry, required HintActions input, OverlayState? overlay, HintDiagnosticsHandler? diagnostics})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Release host resources (entry, timers, listeners).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
HintState state) → void -
Show/update the UI for
state(waiting — scrim without a hole, active — hole + tooltip); on HintIdle — remove the overlay.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited