ResponsiveScaffold class
The ResponsiveScaffold wraps a Scaffold. The drawer is replaced by the menu Widget. See Scaffold class for the documentation of most of the parameters. The following parameters are specific to the ResponsiveScaffold:
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ResponsiveScaffold
Constructors
- ResponsiveScaffold({Key? key, double minimumWidthForPermanentVisibleMenu = 700.0, PreferredSizeWidget? appBar, required Widget body, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, Widget? endDrawer, DrawerCallback? onEndDrawerChanged, Widget? bottomSheet, Color? backgroundColor, bool? resizeToAvoidBottomInset, bool primary = true, bool extendBody = false, bool extendBodyBehindAppBar = false, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, bool endDrawerEnableOpenDragGesture = true, String? restorationId})
-
const
Properties
- appBar → PreferredSizeWidget?
-
See Scaffold.appBar
final
- backgroundColor → Color?
-
See Scaffold.backgroundColor
final
- body → Widget
-
See Scaffold.body
final
-
See Scaffold.bottomNavigationBar
final
- bottomSheet → Widget?
-
See Scaffold.bottomSheet
final
- drawerEdgeDragWidth → double?
-
See Scaffold.drawerEdgeDragWidth
final
- drawerEnableOpenDragGesture → bool
-
See Scaffold.drawerEnableOpenDragGesture
final
- endDrawer → Widget?
-
See Scaffold.endDrawer
final
- endDrawerEnableOpenDragGesture → bool
-
See Scaffold.endDrawerEnableOpenDragGesture
final
- extendBody → bool
-
See Scaffold.extendBody
final
- extendBodyBehindAppBar → bool
-
See Scaffold.extendBodyBehindAppBar
final
- floatingActionButton → Widget?
-
See Scaffold.floatingActionButton
final
- floatingActionButtonAnimator → FloatingActionButtonAnimator?
-
See Scaffold.floatingActionButtonAnimator
final
- floatingActionButtonLocation → FloatingActionButtonLocation?
-
See Scaffold.floatingActionButtonLocation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
Your custom widget that will be shown as the menu.
final
-
The menuController is used to open or close the menu
from outside of the ResponsiveScaffold.
final
- minimumWidthForPermanentVisibleMenu → double
-
- ResponsiveScaffold < minimumWidthForPermanentVisibleMenu Drawer mode: the menu will be hidden when not used because there is not
- ResponsiveScaffold >= minimumWidthForPermanentVisibleMenu Permanent Visible mode: The menu can stay visible
final - onEndDrawerChanged → DrawerCallback?
-
See Scaffold.onEndDrawerChanged
final
-
See Scaffold.persistentFooterAlignment
final
-
See Scaffold.persistentFooterButtons
final
- primary → bool
-
See Scaffold.primary
final
- resizeToAvoidBottomInset → bool?
-
See Scaffold.resizeToAvoidBottomInset
final
- restorationId → String?
-
See Scaffold.restorationId
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(
) → State< ResponsiveScaffold> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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