variantTwo static method

KeynoteTitleOnlySlide variantTwo({
  1. required String titleText,
  2. required String subTitleText,
  3. int? animationIndex,
  4. AnimationArguments? animationArguments,
})

Creates a variant two 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 variantTwo({
  required String titleText,
  required String subTitleText,
  int? animationIndex,
  AnimationArguments? animationArguments,
}) =>
    KeynoteTitleOnlySlide(
      titleText: titleText,
      subTitleText: subTitleText,
      titleStyle: KeynoteTextstyles.titleSmall(),
      subtitleStyle: KeynoteTextstyles.subtitleSmall(),
      titleAlignment: Alignment.bottomLeft,
      subtitleAlignment: Alignment.topLeft,
      padding: allPadding48,
      animationIndex: animationIndex,
      animationArguments: animationArguments,
    );