NiceSpotlight constructor

const NiceSpotlight({
  1. Key? key,
  2. required Widget child,
  3. required String title,
  4. String? description,
  5. NiceSpotlightPosition position = NiceSpotlightPosition.bottom,
  6. bool visible = false,
  7. VoidCallback? onDismiss,
  8. VoidCallback? onNext,
  9. String? dismissLabel,
  10. String? nextLabel,
  11. double padding = 8,
})

Implementation

const NiceSpotlight({
  super.key,
  required this.child,
  required this.title,
  this.description,
  this.position = NiceSpotlightPosition.bottom,
  this.visible = false,
  this.onDismiss,
  this.onNext,
  this.dismissLabel,
  this.nextLabel,
  this.padding = 8,
});