RootSplashLayout class

Inheritance

Constructors

RootSplashLayout({Key? key, required String title, required Widget body, Widget? splash, Decoration? background, double splashScale = 1.0, bool rightAlignedSplash = false, double bodyMinWidth = 0.0, double? bodyMaxWidth, double minWidthToShowSplash = double.infinity, bool splashSeperator = false, RootSplashState createRootSplashState() = _defaultRootSplashState})
const

Properties

background Decoration?
final
body Widget
final
bodyMaxWidth double
Max width of the body.
final
bodyMinWidth double
Min width of the body. -1 means no min width.
final
breakColumns double
final
createRootSplashState RootSplashState Function()
Create a RootSplashState instance.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
minWidthToShowSplash double
Min width view should be to show splash.
final
rightAlignedSplash bool
Align splash view to the right of the body.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splash Widget?
final
splashScale double
Flex value of splash w.r.t. body. This value is used to calculate is a factor of the body width.
final
splashSeperator bool
Show a seperator between the splash and the body.
final
title String
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildSplashLeft(BoxConstraints constraints, bool animate, bool showSplash, double splashWidth, double spaceWidth) Widget
buildSplashRight(BoxConstraints constraints, bool showSplash) Widget
buildSplashSeperator(BoxConstraints constraints) Widget
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