variantOne static method

KeynoteQuoteSlide variantOne({
  1. required String quoteText,
  2. required String attributionText,
  3. required Gradient gradient,
  4. int? animationIndex,
  5. AnimationArguments? animationArguments,
})

Creates a variant of the KeynoteQuoteSlide with specific configurations.

quoteText is the text of the quote.

attributionText is the text of the attribution.

gradient is the gradient to apply to the quote.

animationIndex is the optional index used for controlling the animation of the slide.

animationArguments is the optional animation arguments for animating the slide.

Implementation

static KeynoteQuoteSlide variantOne({
  required String quoteText,
  required String attributionText,
  required Gradient gradient,
  int? animationIndex,
  AnimationArguments? animationArguments,
}) =>
    KeynoteQuoteSlide(
      quoteText: quoteText,
      attributionText: attributionText,
      quoteGradient: gradient,
      quoteStyle: KeynoteTextstyles.quote(),
      attributionStyle: KeynoteTextstyles.attribution(),
      quoteAlignment: Alignment.bottomCenter,
      attributionAlignment: Alignment.bottomCenter,
      animationIndex: animationIndex,
      animationArguments: animationArguments,
    );