FlutterDeckThemeData class

Defines the visual properties of a slide deck.

Used by FlutterDeckTheme to control the visual properties of a slide deck.

To obtain the current FlutterDeckThemeData, use FlutterDeckTheme.of to access the closest ancestor FlutterDeckTheme of the current BuildContext.

See also:

Constructors

FlutterDeckThemeData({Brightness? brightness, ThemeData? theme, FlutterDeckTextTheme? textTheme})
Creates a theme to style a slide deck.
factory
FlutterDeckThemeData.dark()
Creates a default dark theme to style a slide deck.
factory
FlutterDeckThemeData.fromTheme(ThemeData theme)
Creates a theme to style a slide deck from a ThemeData.
factory
FlutterDeckThemeData.fromThemeAndText(ThemeData theme, FlutterDeckTextTheme textTheme)
Creates a theme to style a slide deck from a ThemeData and a FlutterDeckTextTheme.
factory
FlutterDeckThemeData.light()
Creates a default light theme to style a slide deck.
factory

Properties

bigFactSlideTheme FlutterDeckBigFactSlideThemeData
The visual properties of a big fact slide.
final
bulletListTheme FlutterDeckBulletListThemeData
The visual properties of a bullet list widget.
final
codeHighlightTheme FlutterDeckCodeHighlightThemeData
The visual properties of a code highlight widget.
final
footerTheme FlutterDeckFooterThemeData
The visual properties of a footer.
final
hashCode int
The hash code for this object.
no setterinherited
headerTheme FlutterDeckHeaderThemeData
The visual properties of a header.
final
imageSlideTheme FlutterDeckImageSlideThemeData
The visual properties of an image slide.
final
materialTheme ThemeData
The base Material theme used by the slide deck.
final
quoteSlideTheme FlutterDeckQuoteSlideThemeData
The visual properties of a quote slide.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slideTheme FlutterDeckSlideThemeData
The base visual properties of a slide.
final
speakerInfoWidgetTheme FlutterDeckSpeakerInfoWidgetThemeData
The visual properties of a speaker info widget.
final
splitSlideTheme FlutterDeckSplitSlideThemeData
The visual properties of a split slide.
final
textTheme FlutterDeckTextTheme
The visual properties of text.
final
titleSlideTheme FlutterDeckTitleSlideThemeData
The visual properties of a title slide.
final

Methods

copyWith({FlutterDeckBigFactSlideThemeData? bigFactSlideTheme, FlutterDeckBulletListThemeData? bulletListTheme, FlutterDeckCodeHighlightThemeData? codeHighlightTheme, FlutterDeckFooterThemeData? footerTheme, FlutterDeckHeaderThemeData? headerTheme, FlutterDeckImageSlideThemeData? imageSlideTheme, FlutterDeckQuoteSlideThemeData? quoteSlideTheme, FlutterDeckSlideThemeData? slideTheme, FlutterDeckSpeakerInfoWidgetThemeData? speakerInfoWidgetTheme, FlutterDeckSplitSlideThemeData? splitSlideTheme, FlutterDeckTitleSlideThemeData? titleSlideTheme, FlutterDeckTextTheme? textTheme}) FlutterDeckThemeData
Creates a copy of this theme but with the given fields replaced with the new values.
merge(FlutterDeckThemeData? other) FlutterDeckThemeData
Merge the given FlutterDeckThemeData with this one.
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