WidgetLayout enum

Enumeration of available widget layouts.

Different layouts provide different arrangements of content:

  • compact: Minimal content arrangement for small widgets
  • expanded: Moderate content arrangement for medium widgets
  • detailed: Rich content arrangement for large widgets
Inheritance
Available extensions

Values

compact → const WidgetLayout

Compact layout for minimal content.

expanded → const WidgetLayout

Expanded layout for moderate content.

detailed → const WidgetLayout

Detailed layout for rich content.

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
toValue() String
Converts this WidgetLayout to a string value.

Operators

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

Static Methods

fromString(String? value) WidgetLayout?
Creates a WidgetLayout from a string value.

Constants

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