ShowcaseCoachValidator class
Validates showcase coach steps and their associated GlobalKeys.
This class provides static validation methods to ensure that:
- All GlobalKeys are unique across steps
- All GlobalKeys are attached to visible widgets in the widget tree
Validation failures return descriptive error messages that can be displayed to users or developers.
This class is internal to the package and should not be used directly by consumers.
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
-
validateKeysVisible(
List< CoachStep> steps, {int maxRetries = ShowcaseCoachConstants.maxValidationRetries, Duration retryDelay = ShowcaseCoachConstants.validationRetryDelay}) → Future<String?> - Validates that all GlobalKeys are attached and visible in the widget tree.
-
validateSteps(
List< CoachStep> steps) → String? - Validates that all GlobalKeys in the steps are unique.