Scaffold
It provides a structural layout for applications with a consistent navigation and content framework. A scaffold usually consists of a logo, navigation menu, main body, footer, and optional bottom view. It also supports responsive design through alignment and breakpoints.
Constructors
Scaffold
Scaffold creates a new scaffold with the given alignment.
Methods
| Method | Description |
|---|---|
Body(view core.View) | Body sets the main content body of the scaffold. |
BottomView(view core.View) | BottomView sets the optional bottom view of the scaffold, often used for secondary actions like user profile or settings. |
Breakpoint(breakpoint int) | Breakpoint sets the responsive breakpoint at which the scaffold layout may adapt (e.g., switch between drawer and permanent menu). |
Footer(view core.View) | Footer sets the footer content of the scaffold. |
Height(height Length) | |
Logo(view core.View) | Logo sets the logo or brand element of the scaffold. |
Menu(items ...) | Menu sets the navigation menu entries for the scaffold. |