Inheritance
System.Object
Scaffold
public class Scaffold : StatefulWidget
Constructors
Declaration
public Scaffold(Key key = null, PreferredSizeWidget appBar = null, Widget body = null, Widget floatingActionButton = null, FloatingActionButtonLocation floatingActionButtonLocation = null, FloatingActionButtonAnimator floatingActionButtonAnimator = null, List<Widget> persistentFooterButtons = null, Widget drawer = null, Widget endDrawer = null, Widget bottomNavigationBar = null, Widget bottomSheet = null, Color backgroundColor = null, bool? resizeToAvoidBottomPadding = default(bool? ), bool? resizeToAvoidBottomInset = default(bool? ), bool primary = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.down)
Parameters
Fields
Declaration
public readonly PreferredSizeWidget appBar
Field Value
Declaration
public readonly Color backgroundColor
Field Value
body
Declaration
public readonly Widget body
Field Value
Declaration
public readonly Widget bottomNavigationBar
Field Value
Declaration
public readonly Widget bottomSheet
Field Value
Declaration
public readonly Widget drawer
Field Value
Declaration
public readonly DragStartBehavior drawerDragStartBehavior
Field Value
Declaration
public readonly Widget endDrawer
Field Value
Declaration
public readonly Widget floatingActionButton
Field Value
Declaration
public readonly FloatingActionButtonAnimator floatingActionButtonAnimator
Field Value
Declaration
public readonly FloatingActionButtonLocation floatingActionButtonLocation
Field Value
Declaration
public readonly List<Widget> persistentFooterButtons
Field Value
Type |
Description |
System.Collections.Generic.List<Widget> |
|
Declaration
public readonly bool primary
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool? resizeToAvoidBottomInset
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public readonly bool? resizeToAvoidBottomPadding
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Methods
Declaration
public override State createState()
Returns
Overrides
geometryOf(BuildContext)
Declaration
public static ValueListenable<ScaffoldGeometry> geometryOf(BuildContext context)
Parameters
Returns
of(BuildContext, Boolean)
Declaration
public static ScaffoldState of(BuildContext context, bool nullOk = false)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Boolean |
nullOk |
|
Returns