TitleSlide class
A slide that displays a title and subtitle centered on the slide.
Constructors
- TitleSlide({required String title, String? subtitle, Alignment alignment = Alignment.center, WidgetBuilder? backgroundBuilder, String? notes, SlickTransition? transition, SlideThemeData? theme, Source? audioSource, Duration? autoplayDuration})
- Creates a slide that displays a title and subtitle centered on the slide.
- TitleSlide.rich({required TextSpan title, TextSpan? subtitle, Alignment alignment = Alignment.center, WidgetBuilder? backgroundBuilder, String? notes, SlickTransition? transition, SlideThemeData? theme, Source? audioSource, Duration? autoplayDuration})
- Creates a slide that displays a title and subtitle centered on the slide. This constructor uses TextSpans instead of Strings for the title and subtitle to allow for rich text.
Properties
- audioSource → Source?
-
The audio to play when the slide is shown. If in autoplay mode, the
audio's duration will be used to determine how long to wait before
advancing to the next slide unless autoplayDuration is specified.
finalinherited
- autoplayDuration → Duration?
-
The duration to wait before automatically advancing to the next slide.
If null, the SlideDeck will fallback to use the
SlideDeck.autoplayDuration.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSubSlides → bool
-
Whether the slide has sub slides.
finalinherited
- notes → String?
-
The presenter notes for the slide.
finalinherited
- onEnter → VoidCallback?
-
Called when the slide is shown, and can be used to start animations.
finalinherited
- onExit → VoidCallback?
-
Called when the slide is hidden, and can be used to stop animations.
finalinherited
-
onPrecache
→ Future<
void> Function(BuildContext context)? -
Called when the slide is about to be shown, and can be used to load
resources that are needed for the slide.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subSlideCount → int
-
The number of sub slides in the slide. Will always be 1 if the slide
doesn't have sub slides.
finalinherited
- theme → SlideThemeData?
-
The theme to use for the slide. If not specified, the main theme of the
SlideDeck is used.
finalinherited
- transition → SlickTransition?
-
The transition to use when transitioning to the slide.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited