variantTwo static method

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

Creates another variant of the KeynoteQuoteSlide with specific configurations.

quoteText is the text of the quote.

attributionText is the text of the attribution.

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 variantTwo({
  required String quoteText,
  required String attributionText,
  int? animationIndex,
  AnimationArguments? animationArguments,
}) =>
    KeynoteQuoteSlide(
      quoteText: quoteText,
      attributionText: attributionText,
      quoteStyle: KeynoteTextstyles.quote(variant: Variants.two),
      attributionStyle: KeynoteTextstyles.attribution(variant: Variants.two),
      quoteAlignment: Alignment.bottomLeft,
      attributionAlignment: Alignment.centerLeft,
      headerFlexUnits: 3,
      bodyFlexUnits: 3,
      padding: horizontalPadding48 + horizontalPadding32,
      animationIndex: animationIndex,
      animationArguments: animationArguments,
    );