KeynoteTitleSlide constructor
- required String titleText,
- Key? key,
- String? subTitleText,
- TextStyle? titleStyle,
- Gradient? titleGradient,
- 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,
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,
});