TutorialWidget<T extends TutorialEntry> constructor
const
TutorialWidget<T extends TutorialEntry> ({
- Key? key,
- required List<
T> children, - required VoidCallback close,
- DialogBuilder? dialogBuilder,
- Color backgroundColor = Colors.black,
- double backgroundMaxOpacity = 0.5,
- AnimationController? opacityAnimationController,
- AnimationController? highlightAnimationController,
- Animation<
double> ? opacityAnimation, - Animation<
double> ? highlightAnimation, - OnPressedBehavior onPressedBehavior = OnPressedBehavior.next,
- 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);