CanvasProps class abstract final

A screen (Scaffold): its body slot is the page content.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

backdrop → const PropDef<bool>
A backdrop screen: drawn once beneath every other screen of the app (a sky, an animated starfield), outside navigation, so it stays perfectly still while route transitions move the screens over it. Screens whose canvas has no background fill show it through. Like an overlay, it isn't a screen to navigate to: it has no URL path and is never the entry screen. Its layout is a backdrop when any of its canvases is, unless it is an overlay: a canvas both overlay and backdrop is an overlay (overlay wins).
blockBack → const PropDef<bool>
While true, going back (the system or browser back button, a back gesture) keeps the user on this screen and runs its backPressed reactions instead. Usually bound (${= dirty}). A navigate pop from the screen's own actions is never blocked.
breakpoint → const PropDef<String>
The project breakpoint (Breakpoint.id) this canvas is the design for (DESIGN.md §5.3); empty: none.
breakpointMinWidth → const PropDef<double?>
Where this canvas starts showing in its screen when not at its breakpoint's min width.
overlay → const PropDef<bool>
An overlay screen: drawn above every other screen of the app (a mini player and tab bar that stay while screens change under them), outside navigation. Its empty parts let taps through to the screen below. It isn't a screen to navigate to: it has no URL path and is never the entry screen. Its layout is an overlay when any of its canvases is.
scaleMode → const PropDef<ScaleMode>
How the canvas fits a screen of another size than its design size: lays out at the screen's size, or scales the design.
screen → const PropDef<String>
The screen this canvas is one breakpoint of: canvases with the same value are one screen (one canvas per breakpoint). Empty: a screen of its own.
semanticLabel → const PropDef<String>
What assistive technology calls the screen when it opens as an overlay (a dialog's, a sheet's or a menu's name, announced as it opens). Empty: the first text it shows; a popover with a group of items (a menu) is named after the control that opened it.
spec → const WidgetSpec