tutorial_coach_mark library

Classes

CustomTargetContentPosition
Defines custom positioning for tutorial content when using ContentAlign.custom.
TargetContent
Represents content to be displayed around a focused target widget.
TargetFocus
Represents a widget that will be focused during the tutorial.
TargetPosition
Defines a custom position and size for a tutorial target when not using GlobalKey.
TutorialCoachMark
A controller class that manages tutorial coach marks in your Flutter application.
TutorialCoachMarkController
Abstract controller interface for tutorial coach mark interactions.

Enums

ContentAlign
Defines where the content should be positioned relative to the target widget.
ShapeLightFocus
Defines the shape of the focus highlight around target widgets.

Extensions

NullableExt on T?
Extension on nullable types to provide safe callback execution.
StateExt on State<StatefulWidget>
Extension on State to provide safe state updates.

Functions

getTargetCurrent(TargetFocus target, {bool rootOverlay = false}) TargetPosition?
Gets the current position and size of a target widget.
postFrame(VoidCallback callback) → void
Schedules a callback to run after the current frame.

Typedefs

TargetContentBuilder = Widget Function(BuildContext context, TutorialCoachMarkController controller)
Builder function for creating dynamic tutorial content.

Exceptions / Errors

NotFoundTargetException
Exception thrown when a target widget cannot be found or positioned.