WebLayoutVariant enum

Layout variants for desktop content width constraints.

On mobile (<800px), WebContentFrame is a passthrough. On desktop (>=800px), it wraps the child in Center + ConstrainedBox.

Inheritance
Available extensions

Values

narrow → const WebLayoutVariant

700px — short lists, card grids (domains, goals, paths)

const WebLayoutVariant(700)
form → const WebLayoutVariant

600px — settings, config, preferences

const WebLayoutVariant(600)
reader → const WebLayoutVariant

800px — lesson content, guides

const WebLayoutVariant(800)
focus → const WebLayoutVariant

600px — single-task screens (review session, chat)

const WebLayoutVariant(600)
table → const WebLayoutVariant

1000px — data tables, analytics, member management

const WebLayoutVariant(1000)
detail → const WebLayoutVariant

800px — detail/profile pages

const WebLayoutVariant(800)
list → const WebLayoutVariant

800px — medium scrollable lists (leaderboard, teams)

const WebLayoutVariant(800)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
maxWidth double
final
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

Constants

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