WhatsNewPage.changelog constructor

const WhatsNewPage.changelog({
  1. Widget title = const Text('Changelog', textAlign: TextAlign.center, style: const TextStyle(fontSize: 22.0, fontWeight: FontWeight.bold)),
  2. Widget buttonText = const Text('Continue', style: const TextStyle(color: Colors.white)),
  3. VoidCallback? onButtonPressed,
  4. String? changes,
  5. Color? backgroundColor,
  6. Color? buttonColor,
  7. String? path,
  8. MarkdownTapLinkCallback? onTapLink,
  9. 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;