variantTwo static method
Creates a variant of the KeynoteBigFactSlide widget without a gradient background.
titleText
is the text for the slide title.
subTitleText
is the text for the slide subtitle.
animationIndex
is the optional index at which
the animation should start.
animationArguments
is the optional animation arguments
for the slide animation.
Implementation
static KeynoteBigFactSlide variantTwo({
required String titleText,
required String subTitleText,
int? animationIndex,
AnimationArguments? animationArguments,
}) =>
KeynoteBigFactSlide(
titleText: titleText,
subTitleText: subTitleText,
titleStyle: KeynoteTextstyles.fact(variant: Variants.two),
subtitleStyle: KeynoteTextstyles.subtitle(variant: Variants.two),
animationIndex: animationIndex,
animationArguments: animationArguments,
);