TutorialCoachMarkWidget constructor

const TutorialCoachMarkWidget({
  1. Key? key,
  2. required List<TargetFocus> targets,
  3. dynamic finish()?,
  4. double paddingFocus = 10,
  5. dynamic clickTarget(
    1. TargetFocus
    )?,
  6. dynamic clickOverlay(
    1. TargetFocus
    )?,
  7. AlignmentGeometry alignSkip = Alignment.bottomRight,
  8. String textSkip = "SKIP",
  9. dynamic onClickSkip()?,
  10. Color colorShadow = Colors.black,
  11. double opacityShadow = 0.8,
  12. TextStyle textStyleSkip = const TextStyle(color: Colors.white),
  13. bool? hideSkip,
  14. Duration? focusAnimationDuration,
  15. Duration? pulseAnimationDuration,
  16. Tween<double>? pulseVariation,
  17. 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);