FlutterDeckSlide class

The main widget for a slide in a slide deck.

This class is used to create a slide in a slide deck. It is responsible for wrapping the slide in a Scaffold, applying slide theme and displaying the navigation drawer.

To create a new slide, use one of the named constructors.

Inheritance

Constructors

FlutterDeckSlide.bigFact({required String title, String? subtitle, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, int? subtitleMaxLines, FlutterDeckThemeData? theme, Key? key})
Creates a new big fact slide.
FlutterDeckSlide.blank({required WidgetBuilder builder, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, FlutterDeckThemeData? theme, Key? key})
Creates a new blank slide.
FlutterDeckSlide.custom({required WidgetBuilder builder, FlutterDeckThemeData? theme, Key? key})
Creates a new custom slide.
const
FlutterDeckSlide.image({required ImageBuilder imageBuilder, String? label, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, FlutterDeckThemeData? theme, Key? key})
Creates a new image slide.
FlutterDeckSlide.quote({required String quote, String? attribution, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, int? quoteMaxLines, FlutterDeckThemeData? theme, Key? key})
Creates a new quote slide.
FlutterDeckSlide.split({required WidgetBuilder leftBuilder, required WidgetBuilder rightBuilder, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, SplitSlideRatio? splitRatio, FlutterDeckThemeData? theme, Key? key})
Creates a new slide with two columns.
FlutterDeckSlide.template({WidgetBuilder? backgroundBuilder, WidgetBuilder? contentBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, FlutterDeckThemeData? theme, Key? key})
Creates a new slide with a standard layout.
FlutterDeckSlide.title({required String title, String? subtitle, WidgetBuilder? backgroundBuilder, WidgetBuilder? footerBuilder, WidgetBuilder? headerBuilder, WidgetBuilder? speakerInfoBuilder, FlutterDeckThemeData? theme, Key? key})
Creates a new title slide.

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme FlutterDeckThemeData?
Returns the current theme used by any slide. Being used for testing purposes
no setter

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