CustomShowCaseWidget constructor

const CustomShowCaseWidget({
  1. required Builder builder,
  2. int totalWidgets = 0,
  3. VoidCallback? onFinish,
  4. dynamic onStart(
    1. int?,
    2. GlobalKey<State<StatefulWidget>>
    )?,
  5. dynamic onComplete(
    1. int?,
    2. GlobalKey<State<StatefulWidget>>
    )?,
  6. bool autoPlay = false,
  7. Duration autoPlayDelay = const Duration(milliseconds: 2000),
  8. bool enableAutoPlayLock = false,
  9. double blurValue = 0,
  10. Duration scrollDuration = const Duration(milliseconds: 300),
  11. bool disableMovingAnimation = false,
  12. bool disableScaleAnimation = false,
  13. bool enableAutoScroll = false,
  14. bool disableBarrierInteraction = false,
  15. bool enableShowcase = true,
})

Implementation

const CustomShowCaseWidget({
  required this.builder,
  this.totalWidgets = 0,
  this.onFinish,
  this.onStart,
  this.onComplete,
  this.autoPlay = false,
  this.autoPlayDelay = const Duration(milliseconds: 2000),
  this.enableAutoPlayLock = false,
  this.blurValue = 0,
  this.scrollDuration = const Duration(milliseconds: 300),
  this.disableMovingAnimation = false,
  this.disableScaleAnimation = false,
  this.enableAutoScroll = false,
  this.disableBarrierInteraction = false,
  this.enableShowcase = true,
});