KeynoteTitleSlide constructor

const KeynoteTitleSlide({
  1. required String titleText,
  2. Key? key,
  3. String? subTitleText,
  4. String? footerText,
  5. TextStyle? titleStyle,
  6. Gradient? titleGradient,
  7. TextStyle? subtitleStyle,
  8. TextStyle? footerStyle,
  9. Alignment? titleAlignment,
  10. Alignment? subtitleAlignment,
  11. Alignment? footerAlignment,
  12. TextAlign? titleTextAlignment,
  13. TextAlign? subtitleTextAlignment,
  14. TextAlign? footerTextAlignment,
  15. Widget? titleSubTitleSpacing,
  16. Widget? footerBottomSpacing,
  17. EdgeInsets? padding,
  18. int? headerFlexUnits,
  19. int? bodyFlexUnits,
  20. int? footerFlexUnits,
  21. Widget? titleWidgetReplacement,
  22. Widget? subtitleWidgetReplacement,
  23. Widget? footerWidgetReplacement,
  24. int? animationIndex,
  25. AnimationArguments? animationArguments,
})

Creates a KeynoteTitleSlide with the specified parameters.

The titleText represents the main title of the slide.

The subTitleText represents the subtitle of the slide.

The footerText represents the footer text of the slide.

The titleGradient is an gradient that can be applied to the title text.

The titleStyle defines the style for the title text.

The subtitleStyle defines the style for the subtitle text.

The footerStyle defines the style for the footer text.

The titleAlignment represents the alignment of the title text within the slide.

The subtitleAlignment represents the alignment of the subtitle text within the slide.

The footerAlignment represents the alignment of the footer text within the slide.

The titleTextAlignment represents the text alignment of the title text.

The subtitleTextAlignment represents the text alignment of the subtitle text.

The footerTextAlignment represents the text alignment of the footer text.

The titleSubTitleSpacing is a widget that provides spacing between the title and subtitle.

The footerBottomSpacing is a widget that provides spacing below the footer text.

The padding specifies the padding around the slide content.

The headerFlexUnits represents the flex units for the header section of the slide.

The bodyFlexUnits represents the flex units for the body section of the slide.

The footerFlexUnits represents the flex units for the footer section of the slide.

The titleWidgetReplacement is a widget that can replace the default title text widget.

The subtitleWidgetReplacement is a widget that can replace the default subtitle text widget.

The footerWidgetReplacement is a widget that can replace the default footer text widget.

The animationIndex represents the index of the slide for animation purposes.

The animationArguments provide additional animation settings for the slide.

Implementation

const KeynoteTitleSlide({
  required this.titleText,
  super.key,
  this.subTitleText,
  this.footerText,
  this.titleStyle,
  this.titleGradient,
  this.subtitleStyle,
  this.footerStyle,
  this.titleAlignment,
  this.subtitleAlignment,
  this.footerAlignment,
  this.titleTextAlignment,
  this.subtitleTextAlignment,
  this.footerTextAlignment,
  this.titleSubTitleSpacing,
  this.footerBottomSpacing,
  this.padding,
  this.headerFlexUnits,
  this.bodyFlexUnits,
  this.footerFlexUnits,
  this.titleWidgetReplacement,
  this.subtitleWidgetReplacement,
  this.footerWidgetReplacement,
  this.animationIndex,
  this.animationArguments,
});