ContentDesignStyle enum

Design style for dialog, bottom sheet, and snackbar content.

Inheritance
Available extensions

Values

solid → const ContentDesignStyle

Solid colored background, light text, with shadow (toast/snackbar style).

outlined → const ContentDesignStyle

White/light background with colored border, dark text (outlined toast style).

colorHeader → const ContentDesignStyle

Card style with colored header gradient, centered icon in circle, title and message below, with a dark action button. Similar to modern notification/alert card designs.

leftAccent → const ContentDesignStyle

Light or dark surface with a colored vertical bar on the left edge. Clean, minimal look popular in notification UIs.

tonal → const ContentDesignStyle

Material 3 filled tonal: light tinted background (e.g. light green for success), dark text, medium elevation. Softer than solid.

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

Constants

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