DynamicScaffold class

Both Android and IOS


Material Scaffold's documentation:

Cupertino's CupertinoPageScaffold's documentation:
Returns a scaffold Widget depending on this user's devices' operating system.

Inheritance

Constructors

DynamicScaffold({Key? key, required Widget? child, dynamic appBar, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, List<Widget>? persistentFooterButtons, Widget? drawer, DrawerCallback? onDrawerChanged, Widget? endDrawer, DrawerCallback? onEndDrawerChanged, Color? drawerScrimColor, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, bool endDrawerEnableOpenDragGesture = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, bool resizeToAvoidBottomInset = true, Color? backgroundColor, Widget? bottomNavigationBar, Widget? bottomSheet, bool primary = true, bool extendBody = false, bool extendBodyBehindAppBar = false, String? restorationId})

Properties

appBar → dynamic
Both Android and IOS
final
backgroundColor Color?
Both Android and IOS
final
bottomNavigationBar Widget?
Android Only:
final
bottomSheet Widget?
Android Only:
final
child Widget?
Both Android and IOS
final
drawer Widget?
Android Only:
final
drawerDragStartBehavior DragStartBehavior
Android Only:
final
drawerEdgeDragWidth double?
Android Only:
final
drawerEnableOpenDragGesture bool
Android Only:
final
drawerScrimColor Color?
Android Only:
final
endDrawer Widget?
Android Only:
final
endDrawerEnableOpenDragGesture bool
Android Only:
final
extendBody bool
Android Only:
final
extendBodyBehindAppBar bool
Android Only:
final
floatingActionButton Widget?
Android Only:
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
Android Only:
final
floatingActionButtonLocation FloatingActionButtonLocation?
Android Only:
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onDrawerChanged DrawerCallback?
Android Only:
final
onEndDrawerChanged DrawerCallback?
Android Only:
final
persistentFooterButtons List<Widget>?
Android Only:
final
primary bool
Android Only
final
resizeToAvoidBottomInset bool
Both Android and IOS
final
restorationId String?
Android Only:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() DynamicScaffoldState
Creates the mutable state for this widget at a given location in the tree.
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