variantOne static method

KeynoteBigFactSlide variantOne({
  1. required String titleText,
  2. required String subTitleText,
  3. required Gradient gradient,
  4. int? animationIndex,
  5. AnimationArguments? animationArguments,
})

Creates a variant of the KeynoteBigFactSlide widget with a gradient background.

titleText is the text for the slide title.

subTitleText is the text for the slide subtitle.

gradient is the gradient used for the slide title background.

animationIndex is the optional index at which the animation should start.

animationArguments is the optional animation arguments for the slide animation.

Implementation

static KeynoteBigFactSlide variantOne({
  required String titleText,
  required String subTitleText,
  required Gradient gradient,
  int? animationIndex,
  AnimationArguments? animationArguments,
}) =>
    KeynoteBigFactSlide(
      titleText: titleText,
      subTitleText: subTitleText,
      titleGradient: gradient,
      titleStyle: KeynoteTextstyles.fact(),
      subtitleStyle: KeynoteTextstyles.subtitle(),
      animationIndex: animationIndex,
      animationArguments: animationArguments,
    );