SpotlightStep class
Constructors
-
SpotlightStep({required String? stepId, required String? anchorKey, Map<
String, dynamic> ? anchorlessTarget, required int? delayInMs, required String calloutPosition, required double calloutGap, required Color overlayColor, required double overlayOpacity, required String highlightShape, required double highlightCornerRadius, required double highlightPadding, required Color highlightGlowColor, required double highlightGlowWidth, required double calloutCornerRadius, required double calloutPadding, required bool calloutShadow, required Color calloutBorderColor, required double calloutBorderWidth, 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
-
anchorlessTarget
→ Map<
String, dynamic> ? -
final
- arrowSize → double
-
final
- calloutBorderColor → Color
-
final
- calloutBorderWidth → double
-
final
- calloutCornerRadius → double
-
final
- calloutGap → double
-
final
- calloutPadding → double
-
final
- calloutPosition → String
-
final
- calloutShadow → bool
-
final
- canvas → CampaignCanvas
-
final
- delayInMs → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightCornerRadius → double
-
final
- highlightGlowColor → Color
-
final
- highlightGlowWidth → double
-
final
- highlightPadding → double
-
final
- highlightShape → String
-
final
- overlayColor → Color
-
final
- overlayOpacity → double
-
final
- passThroughTap → bool
-
A tap inside this step's highlighted cutout reaches the widget underneath.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showArrow → bool
-
final
- stepId → String?
-
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}) → SpotlightStep?