WhatsNewPage constructor
WhatsNewPage({})
Default constructor of the WhatsNewPage widget.
Represents an "What's new" screen in iOS 15 style. It is possible to restyle this widget to match older iOS versions.
Implementation
WhatsNewPage({
this.title = const Text("What's New"),
required this.features,
this.bodyPadding = _kOnboardingPagePadding,
this.titleTopIndent = _kTitleTopIndent,
this.titleToBodySpacing = _kTitleToBodySpacing,
this.bodyToBottomSpacing = 0,
this.titleFlex = 3,
super.key,
}) : assert(
features.isNotEmpty,
'Feature list must contain at least 1 widget.',
);