variantTwo static method
Creates a variant two 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 animationIndex
represents the index of
the slide for animation purposes.
The animationArguments
provide additional
animation settings for the slide.
Implementation
static KeynoteTitleSlide variantTwo({
required String titleText,
required String subTitleText,
required String footerText,
int? animationIndex,
AnimationArguments? animationArguments,
}) =>
KeynoteTitleSlide(
titleText: titleText,
subTitleText: subTitleText,
footerText: footerText,
titleStyle: KeynoteTextstyles.title(variant: Variants.two),
subtitleStyle: KeynoteTextstyles.subtitle(variant: Variants.two),
footerStyle: KeynoteTextstyles.footer(variant: Variants.two),
titleAlignment: Alignment.bottomLeft,
subtitleAlignment: Alignment.topLeft,
footerAlignment: Alignment.bottomLeft,
padding: allPadding48,
animationIndex: animationIndex,
animationArguments: animationArguments,
);