TutorialWidget<T extends TutorialEntry> constructor

const TutorialWidget<T extends TutorialEntry>({
  1. Key? key,
  2. required List<T> children,
  3. required VoidCallback close,
  4. DialogBuilder? dialogBuilder,
  5. Color backgroundColor = Colors.black,
  6. double backgroundMaxOpacity = 0.5,
  7. AnimationController? opacityAnimationController,
  8. AnimationController? highlightAnimationController,
  9. Animation<double>? opacityAnimation,
  10. Animation<double>? highlightAnimation,
  11. OnPressedBehavior onPressedBehavior = OnPressedBehavior.next,
  12. Future<void> prepareNext()?,
})

Implementation

const TutorialWidget({
  Key? key,
  required this.children,
  required this.close,
  this.dialogBuilder,
  this.backgroundColor = Colors.black,
  this.backgroundMaxOpacity = 0.5,
  this.opacityAnimationController,
  this.highlightAnimationController,
  this.opacityAnimation,
  this.highlightAnimation,
  this.onPressedBehavior = OnPressedBehavior.next,
  this.prepareNext,
}) : super(key: key);