CoachStep class
One highlighted widget and the text that explains it.
- Annotations
Constructors
-
CoachStep({required GlobalKey<
State< target, required String title, String body = '', CoachShape shape = CoachShape.rectangle, EdgeInsets padding = const EdgeInsets.all(6), double radius = 12})StatefulWidget> > -
Creates a step pointing at the widget that carries
target.const
Properties
- body → String
-
Optional one-line explanation under the title.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
Space between the widget and the edge of the cut-out.
final
- radius → double
-
Corner radius used with CoachShape.rectangle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → CoachShape
-
Shape of the cut-out.
final
-
target
→ GlobalKey<
State< StatefulWidget> > -
Key attached to the widget to highlight. A step whose widget is not
laid out when its turn comes is skipped.
final
- title → String
-
Short heading shown in the card.
final
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