variantOne static method
Creates a variant one of KeynoteTitleOnlySlide.
The titleText
is the main title displayed on the slide.
The subTitleText
is an optional subtitle displayed below the title.
The animationIndex
is the index of the slide for animations.
The animationArguments
is the configuration for the slide animations.
Returns a KeynoteTitleOnlySlide instance with the specified configuration.
Implementation
static KeynoteTitleOnlySlide variantOne({
required String titleText,
required String subTitleText,
int? animationIndex,
AnimationArguments? animationArguments,
}) =>
KeynoteTitleOnlySlide(
titleText: titleText,
subTitleText: subTitleText,
titleStyle: KeynoteTextstyles.titleSmall(),
subtitleStyle: KeynoteTextstyles.subtitleSmall(),
titleAlignment: Alignment.bottomCenter,
subtitleAlignment: Alignment.topCenter,
animationIndex: animationIndex,
animationArguments: animationArguments,
);