TutorialCoachMarkWidget constructor
const
TutorialCoachMarkWidget({
- Key? key,
- required List<
TargetFocus> targets, - dynamic finish()?,
- double paddingFocus = 10,
- dynamic clickTarget()?,
- dynamic clickOverlay()?,
- AlignmentGeometry alignSkip = Alignment.bottomRight,
- String textSkip = "SKIP",
- dynamic onClickSkip()?,
- Color colorShadow = Colors.black,
- double opacityShadow = 0.8,
- TextStyle textStyleSkip = const TextStyle(color: Colors.white),
- bool? hideSkip,
- Duration? focusAnimationDuration,
- Duration? pulseAnimationDuration,
- Tween<
double> ? pulseVariation, - Widget? skipWidget,
Implementation
const TutorialCoachMarkWidget({
Key? key,
required this.targets,
this.finish,
this.paddingFocus = 10,
this.clickTarget,
this.clickOverlay,
this.alignSkip = Alignment.bottomRight,
this.textSkip = "SKIP",
this.onClickSkip,
this.colorShadow = Colors.black,
this.opacityShadow = 0.8,
this.textStyleSkip = const TextStyle(color: Colors.white),
this.hideSkip,
this.focusAnimationDuration,
this.pulseAnimationDuration,
this.pulseVariation,
this.skipWidget,
}) : assert(targets.length > 0),
super(key: key);