KeynoteTitleAndPhotoSlide class

A widget that recreates the title and photo slide from Keynote. Consists of a title and photo.

Inheritance

Constructors

KeynoteTitleAndPhotoSlide({required String titleText, required Widget image, String? subTitleText, String? headingText, TextStyle? titleStyle, Gradient? titleGradient, TextStyle? subtitleStyle, TextStyle? headingStyle, Alignment? titleAlignment, Alignment? subtitleAlignment, Alignment? headingAlignment, TextAlign? titleTextAlignment, TextAlign? subtitleTextAlignment, TextAlign? headingTextAlignment, Widget? titleSubTitleSpacing, Widget? headingBottomSpacing, EdgeInsets? padding, int? headerFlexUnits, int? bodyFlexUnits, int? headingFlexUnits, Widget? titleWidgetReplacement, Widget? subtitleWidgetReplacement, Widget? headingWidgetReplacement, Widget? imageWidgetReplacement, AnimationArguments? animationArguments, int? animationIndex, Variants? variant, Key? key})
Creates a KeynoteTitleAndPhotoSlide.
const

Properties

animationArguments → AnimationArguments?
The animation arguments for the slide.
final
animationIndex int?
The animation index for the slide.
final
bodyFlexUnits int?
The flex units for the body section.
final
hashCode int
The hash code for this object.
no setterinherited
headerFlexUnits int?
The flex units for the header section.
final
headingAlignment Alignment?
The alignment of the heading.
final
headingBottomSpacing Widget?
The spacing widget at the bottom of the heading.
final
headingFlexUnits int?
The flex units for the heading section.
final
headingStyle TextStyle?
The style for the heading text.
final
headingText String?
The heading text.
final
headingTextAlignment TextAlign?
The text alignment of the heading.
final
headingWidgetReplacement Widget?
The widget replacement for the heading.
final
image Widget
The image to display.
final
imageWidgetReplacement Widget?
The widget replacement for the image.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padding EdgeInsets?
The padding around the slide.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitleAlignment Alignment?
The alignment of the subtitle.
final
subtitleStyle TextStyle?
The style for the subtitle text.
final
subTitleText String?
The subtitle text.
final
subtitleTextAlignment TextAlign?
The text alignment of the subtitle.
final
subtitleWidgetReplacement Widget?
The widget replacement for the subtitle.
final
titleAlignment Alignment?
The alignment of the title.
final
titleGradient Gradient?
The gradient for the title background.
final
titleStyle TextStyle?
The style for the title text.
final
titleSubTitleSpacing Widget?
The spacing widget between the title and subtitle.
final
titleText String
The main title text.
final
titleTextAlignment TextAlign?
The text alignment of the title.
final
titleWidgetReplacement Widget?
The widget replacement for the title.
final
variant Variants?
The variant of the slide.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited