TooltipStep class
Typed config holders for a guide (tooltip / spotlight) campaign.
Guide campaigns render canvas-only presentations.
Constructors
- TooltipStep({required String anchorKey, required int? delayInMs, required String placement, required Color borderColor, required double borderWidth, required double cornerRadius, required bool shadow, required double gap, required double padding, required bool showArrow, required double arrowSize, bool passThroughTap = false, bool advanceOnTap = false, required CampaignCanvas canvas})
-
const
Properties
- advanceOnTap → bool
-
A tap inside this step's cutout also advances the guide; on the last/only
step it dismisses, exactly like the outside-tap
nextpath.final - anchorKey → String
-
final
- arrowSize → double
-
final
- borderColor → Color
-
final
- borderWidth → double
-
final
- canvas → CampaignCanvas
-
final
- cornerRadius → double
-
final
- delayInMs → int?
-
final
- gap → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → double
-
final
- passThroughTap → bool
-
A tap inside this step's highlighted cutout reaches the widget underneath.
final
- placement → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → bool
-
final
- showArrow → bool
-
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
Static Methods
-
fromJson(
Map< String, dynamic> json, {DesignTokenCatalog designTokens = DesignTokenCatalog.empty}) → TooltipStep?