KeynoteTitleOnlySlide constructor

const KeynoteTitleOnlySlide({
  1. required String titleText,
  2. String? subTitleText,
  3. TextStyle? titleStyle,
  4. TextStyle? subtitleStyle,
  5. Alignment? titleAlignment,
  6. Alignment? subtitleAlignment,
  7. TextAlign? titleTextAlignment,
  8. TextAlign? subtitleTextAlignment,
  9. Widget? titleSubTitleSpacing,
  10. EdgeInsets? padding,
  11. int? headerFlexUnits,
  12. int? bodyFlexUnits,
  13. Widget? titleWidgetReplacement,
  14. Widget? subtitleWidgetReplacement,
  15. int? animationIndex,
  16. AnimationArguments? animationArguments,
  17. Key? key,
})

Constructs a KeynoteTitleOnlySlide with the given parameters.

The titleText parameter is required and represents the main title displayed on the slide.

The subTitleText parameter is and represents the subtitle displayed below the title.

The titleStyle and subtitleStyle parameters allow customizing the text styles of the title and subtitle, respectively.

The titleAlignment and subtitleAlignment parameters control the alignment of the text within their containers.

The titleTextAlignment and subtitleTextAlignment parameters control the text alignment of the texts.

The titleSubTitleSpacing widget adds spacing between the title and subtitle.

The padding parameter sets the padding around the slide's content.

The headerFlexUnits and bodyFlexUnits parameters determine the flex units for the header and body sections of the slide, respectively.

The titleWidgetReplacement and subtitleWidgetReplacement widgets can be used to replace the default title and subtitle widgets.

The animationIndex and animationArguments properties configure animations for the slide.

Implementation

const KeynoteTitleOnlySlide({
  required this.titleText,
  this.subTitleText,
  this.titleStyle,
  this.subtitleStyle,
  this.titleAlignment,
  this.subtitleAlignment,
  this.titleTextAlignment,
  this.subtitleTextAlignment,
  this.titleSubTitleSpacing,
  this.padding,
  this.headerFlexUnits,
  this.bodyFlexUnits,
  this.titleWidgetReplacement,
  this.subtitleWidgetReplacement,
  this.animationIndex,
  this.animationArguments,
  super.key,
});