ShowCaseWidget constructor

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

Implementation

const ShowCaseWidget({
  required this.builder,
  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,
});