KeynoteBigFactSlide constructor

const KeynoteBigFactSlide({
  1. required String titleText,
  2. Key? key,
  3. String? subTitleText,
  4. Gradient? titleGradient,
  5. TextStyle? titleStyle,
  6. TextStyle? subtitleStyle,
  7. Alignment? titleAlignment,
  8. Alignment? subtitleAlignment,
  9. TextAlign? titleTextAlignment,
  10. TextAlign? subtitleTextAlignment,
  11. Widget? titleSubTitleSpacing,
  12. EdgeInsets? padding,
  13. int? headerFlexUnits,
  14. int? bodyFlexUnits,
  15. Widget? titleWidgetReplacement,
  16. Widget? subtitleWidgetReplacement,
  17. int? animationIndex,
  18. AnimationArguments? animationArguments,
})

Constructs a KeynoteBigFactSlide.

titleText is the text for the slide title.

subTitleText is the text for the slide subtitle.

titleGradient is the gradient used for the slide title background.

titleStyle is the style for the slide title.

subtitleStyle is the style for the slide subtitle.

titleTextAlignment is the text alignment for the slide title. Only affects the text if no titleGradient is passed.

subtitleTextAlignment is the text alignment for the slide subtitle.

titleAlignment is the alignment for the slide title.

subtitleAlignment is the alignment for the slide subtitle.

titleSubTitleSpacing is the widget to provide spacing between the title and subtitle.

padding is the padding for the slide.

headerFlexUnits is the flex units for the header section.

bodyFlexUnits is the flex units for the body section.

titleWidgetReplacement is the replacement widget for the slide title.

subtitleWidgetReplacement is the replacement widget for the slide subtitle.

animationIndex is the index at which the animation should start.

animationArguments is the animation arguments for the slide animation.

Implementation

const KeynoteBigFactSlide({
  required this.titleText,
  super.key,
  this.subTitleText,
  this.titleGradient,
  this.titleStyle,
  this.subtitleStyle,
  this.titleAlignment,
  this.subtitleAlignment,
  this.titleTextAlignment,
  this.subtitleTextAlignment,
  this.titleSubTitleSpacing,
  this.padding,
  this.headerFlexUnits,
  this.bodyFlexUnits,
  this.titleWidgetReplacement,
  this.subtitleWidgetReplacement,
  this.animationIndex,
  this.animationArguments,
});