variantOne static method

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

Creates a variant one 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 variantOne({
  required String titleText,
  required String subTitleText,
  int? animationIndex,
  AnimationArguments? animationArguments,
}) =>
    KeynoteTitleOnlySlide(
      titleText: titleText,
      subTitleText: subTitleText,
      titleStyle: KeynoteTextstyles.titleSmall(),
      subtitleStyle: KeynoteTextstyles.subtitleSmall(),
      titleAlignment: Alignment.bottomCenter,
      subtitleAlignment: Alignment.topCenter,
      animationIndex: animationIndex,
      animationArguments: animationArguments,
    );