BubbleShowcase constructor

BubbleShowcase({
  1. required String bubbleShowcaseId,
  2. required int bubbleShowcaseVersion,
  3. bool doNotReopenOnClose = false,
  4. required List<BubbleSlide> bubbleSlides,
  5. required Widget child,
  6. String? counterText = ':i/:n',
  7. bool showCloseButton = true,
  8. Duration initialDelay = Duration.zero,
  9. bool enabled = true,
})

Creates a new bubble showcase instance.

Implementation

BubbleShowcase({
  required this.bubbleShowcaseId,
  required this.bubbleShowcaseVersion,
  this.doNotReopenOnClose = false,
  required this.bubbleSlides,
  required this.child,
  this.counterText = ':i/:n',
  this.showCloseButton = true,
  this.initialDelay = Duration.zero,
  this.enabled = true,
}) : assert(bubbleSlides.isNotEmpty);