variantOne static method
Creates a variant one 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 gradient
is an optional parameter that defines
the gradient background for the title.
The animationIndex
represents the index of
the slide for animation purposes.
The animationArguments
provide additional
animation settings for the slide.
Implementation
static KeynoteTitleSlide variantOne({
required String titleText,
required String subTitleText,
required String footerText,
Gradient? gradient,
int? animationIndex,
AnimationArguments? animationArguments,
}) =>
KeynoteTitleSlide(
titleText: titleText,
subTitleText: subTitleText,
footerText: footerText,
titleGradient: gradient,
titleStyle: KeynoteTextstyles.title(),
subtitleStyle: KeynoteTextstyles.subtitle(),
footerStyle: KeynoteTextstyles.footer(),
titleAlignment: Alignment.bottomCenter,
subtitleAlignment: Alignment.topCenter,
footerAlignment: Alignment.bottomCenter,
animationIndex: animationIndex,
animationArguments: animationArguments,
);