Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 738 Bytes

scaffold.md

File metadata and controls

29 lines (22 loc) · 738 Bytes

The Scaffold Widget

A Scaffold widget should be used to wrap an app screen. It includes support for App Bars, Floating Action Buttons, Drawers, and Bottom Sheets.

{
    "type": "scaffold",
    "app_bar": {},
    "body": {},
    "fab": {},
    "drawer": {},
    "bottom_bar": {},
    "bottom_sheet": {}
}

All properties except type and body are optional.

All properties except type should be widgets of the relevant type.

If you want to use a Bottom Navigation Bar, you should use a Bottom Navigation Scaffold instead.

See Also