ChromeGround enum

The ground a page stands on, which is what its chrome is drawn against: the system's own surface, or media — a full-bleed feed of video or photographs, over which the chrome is dark and solid.

On media every system draws its bar as an opaque near-black surface from its own dark tokens, with light icons and a light status bar, and blurs nothing (over solid black a frost buys nothing, and a filter over a live video texture costs every frame). A page's body ends at the bar's top. A pushed media page (a full-screen player) has no bar; its top bar stands over the media and keeps a legible back affordance.

Independent of RoutePresentation: a root, a pushed page and a sheet may each stand on media.

Inheritance
Available extensions

Values

surface → const ChromeGround

The system's own surface: every page's default.

media → const ChromeGround

A full-bleed media feed.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Static Methods

of(BuildContext context) → ChromeGround
The ground published at context (ChromeGroundScope), surface when none is.

Constants

values → const List<ChromeGround>
A constant List of the values in this enum, in order of their declaration.