show<T> static method
- BuildContext context, {
- IntroductionViewStage initial = IntroductionViewStage.oneTime,
Displays an IntroductionView wrapped in a ModalPopup.
Implementation
static Future<T?> show<T>(
BuildContext context, {
IntroductionViewStage initial = IntroductionViewStage.oneTime,
}) {
final style = Theme.of(context).style;
return ModalPopup.show(
context: context,
background:
initial == IntroductionViewStage.link
? style.colors.background
: null,
child: IntroductionView(initial: initial),
);
}