KeynoteTitleOnlySlide constructor
- required String titleText,
- String? subTitleText,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- Alignment? titleAlignment,
- Alignment? subtitleAlignment,
- TextAlign? titleTextAlignment,
- TextAlign? subtitleTextAlignment,
- Widget? titleSubTitleSpacing,
- EdgeInsets? padding,
- int? headerFlexUnits,
- int? bodyFlexUnits,
- Widget? titleWidgetReplacement,
- Widget? subtitleWidgetReplacement,
- int? animationIndex,
- AnimationArguments? animationArguments,
- 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,
});