CoachTour class abstract final

Shows spotlight tours over the current screen.

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

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

Static Methods

anyVisible(List<CoachStep> steps) → bool
Whether at least one of steps points at a widget that is laid out.
show(BuildContext context, {required List<CoachStep> steps, CoachLabels labels = const CoachLabels(), CoachStyle style = const CoachStyle(), ValueChanged<int>? onStep}) → Future<CoachResult>
Shows steps one after another and completes when the tour closes.
showOnce(BuildContext context, {required String id, required CoachMemory memory, required List<CoachStep> steps, CoachLabels labels = const CoachLabels(), CoachStyle style = const CoachStyle(), ValueChanged<int>? onStep}) → Future<CoachResult?>
Shows the tour id unless memory says it was seen, then marks it as seen however it ended. Returns null when nothing was shown.