WhatsNewPage.changelog constructor
const
WhatsNewPage.changelog({
- Widget title = const Text('Changelog', textAlign: TextAlign.center, style: const TextStyle(fontSize: 22.0, fontWeight: FontWeight.bold)),
- Widget buttonText = const Text('Continue', style: const TextStyle(color: Colors.white)),
- VoidCallback? onButtonPressed,
- String? changes,
- Color? backgroundColor,
- Color? buttonColor,
- String? path,
- MarkdownTapLinkCallback? onTapLink,
- bool adaptive = true,
Implementation
const WhatsNewPage.changelog({
this.title = const Text(
'Changelog',
textAlign: TextAlign.center,
style: const TextStyle(
fontSize: 22.0,
fontWeight: FontWeight.bold,
),
),
this.buttonText = const Text(
'Continue',
style: const TextStyle(color: Colors.white),
),
this.onButtonPressed,
this.changes,
this.backgroundColor,
this.buttonColor,
this.path,
this.onTapLink,
this.adaptive = true,
}) : changelog = true,
items = null;