TutorialAwareWidget constructor
TutorialAwareWidget({
- GlobalKey<
State< ? globalKey,StatefulWidget> > - List<
TutorialID> ? tutorialKeyIDs, - List<
TutorialID> ? tutorialContextIDs, - required Widget child,
Creates a TutorialAwareWidget.
The child
parameter is required.
If globalKey
is not provided, a new GlobalKey will be created.
tutorialKeyIDs
and tutorialContextIDs
are optional lists of TutorialIDs
to register the widget's key and context, respectively.
Implementation
TutorialAwareWidget({
GlobalKey? globalKey,
this.tutorialKeyIDs,
this.tutorialContextIDs,
required this.child,
}) : super(key: globalKey ?? GlobalKey());