ChallengeHintConfig class
Constructors
- ChallengeHintConfig({bool enabled = true, String? assetPath, ChallengeHintPosition position = ChallengeHintPosition.topCenter, double size = 100.0, Duration displayDuration = const Duration(seconds: 2), bool animateEntrance = true, bool isLottie = false, ChallengeHintStyle hintStyle = ChallengeHintStyle.plain, ChallengeHintAnimation hintAnimation = ChallengeHintAnimation.scaleIn, Color? accentColor})
-
const
- ChallengeHintConfig.disabled()
-
factory
Properties
- accentColor → Color?
-
Accent colour used by ChallengeHintStyle.futuristic and
ChallengeHintStyle.neon borders / glows.
Falls back to cyan (
0xFF00D4FF) when not provided.final - animateEntrance → bool
-
final
- assetPath → String?
-
final
- displayDuration → Duration
-
final
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintAnimation → ChallengeHintAnimation
-
Entrance / exit animation for the hint guide.
final
- hintStyle → ChallengeHintStyle
-
Visual container style for the hint guide.
final
- isLottie → bool
-
final
- position → ChallengeHintPosition
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
final
Methods
-
copyWith(
{bool? enabled, String? assetPath, ChallengeHintPosition? position, double? size, Duration? displayDuration, bool? animateEntrance, bool? isLottie, ChallengeHintStyle? hintStyle, ChallengeHintAnimation? hintAnimation, Color? accentColor}) → ChallengeHintConfig -
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 Properties
-
defaultAssetPaths
→ Map<
ChallengeType, String> -
no setter