TourController constructor

TourController({
  1. required BuildContext context,
  2. required List<TourStep> steps,
  3. VoidCallback? onComplete,
  4. VoidCallback? onSkip,
  5. dynamic onStepChange(
    1. int stepIndex,
    2. TourStep step
    )?,
  6. Duration? startDelay,
  7. String? persistenceKey,
  8. Color overlayColor = const Color.fromRGBO(0, 0, 0, 0.7),
  9. bool dismissOnBarrierTap = false,
})

Implementation

TourController({
  required this.context,
  required this.steps,
  this.onComplete,
  this.onSkip,
  this.onStepChange,
  this.startDelay,
  this.persistenceKey,
  this.overlayColor = const Color.fromRGBO(0, 0, 0, 0.7),
  this.dismissOnBarrierTap = false,
});