TutorialWidget<T extends TutorialEntry> constructor
const
TutorialWidget<T extends TutorialEntry> ({
- Key? key,
- required List<
T> children, - required VoidCallback close,
- required DialogBuilder dialogBuilder,
- Color backgroundColor = Colors.black,
- double backgroundMaxOpacity = 0.5,
- AnimationController? opacityAnimationController,
- AnimationController? highlightAnimationController,
- Animation<
double> ? opacityAnimation, - Animation<
double> ? highlightAnimation, - OnPressedBehavior onPressedBehavior = OnPressedBehavior.none,
- Future<
void> prepareNext()?,
Implementation
const TutorialWidget({
Key? key,
required this.children,
required this.close,
required this.dialogBuilder,
this.backgroundColor = Colors.black,
this.backgroundMaxOpacity = 0.5,
this.opacityAnimationController,
this.highlightAnimationController,
this.opacityAnimation,
this.highlightAnimation,
this.onPressedBehavior = OnPressedBehavior.none,
this.prepareNext,
}) : super(key: key);