PrismOverlayStack constructor

const PrismOverlayStack({
  1. Key? key,
  2. required List<PrismOverlayStep> steps,
  3. required VoidCallback onDone,
  4. VoidCallback? onSkip,
  5. String skipLabel = 'Skip tour',
  6. double darkening = 0.6,
})

Creates a spotlight tour. Steps are shown in order; an empty list renders nothing.

Implementation

const PrismOverlayStack({
  super.key,
  required this.steps,
  required this.onDone,
  this.onSkip,
  this.skipLabel = 'Skip tour',
  this.darkening = 0.6,
});