VarianceProps class abstract final

Shows one of several variants of its content (by id, or by breakpoint).

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

current → const PropDef<String>
minWidths → const PropDef<Map<String, double>>
A responsive variance's own switch points: breakpoint id → the width it shows that breakpoint's variant from, when not the project's.
spec → const WidgetSpec
variants → const PropDef<List<Json>>
[{"id", "name", "children": [ids], "breakpoint"?, "overrides"?}]; breakpoint is a project Breakpoint.id (DESIGN.md §5.3): a variance with any is responsive.