MinimalGround enum
The ground a page stands on, which is what its chrome is drawn against: the theme's own surface, or media — a full-bleed feed of video or photographs.
On media the chrome is dark and solid: drawn in the host's dark tokens
(MinimalTheme.darkOf) with light ink and a light status bar, and
nothing in it blurs. A tab whose item is MinimalNavItem.media paints the
shell's bar so, and its root page ends at the bar's top; a page stands
on media through MinimalPage(ground:).
Values
- surface → const MinimalGround
-
The theme's own ground: every page's default.
- media → const MinimalGround
-
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) → MinimalGround -
The ground published at
context(MinimalGroundScope), surface when none is.
Constants
-
values
→ const List<
MinimalGround> - A constant List of the values in this enum, in order of their declaration.