ShadAlertTheme class
Properties
canMerge
→ bool
no setter
crossAxisAlignment
→ CrossAxisAlignment ?
Cross axis alignment for the alert's content, defaults to start if not
specified. Controls vertical alignment of icon and text content within the
Row .
final
decoration
→ ShadDecoration ?
Custom decoration for the alert, merged with theme defaults if provided.
Allows customization of border, padding, and other visual properties.
final
descriptionStyle
→ TextStyle ?
Style for the description text, overrides theme default if provided.
Controls font size, weight, color, and other text properties of the
description.
final
gap
→ double ?
The vertical gap between the title and the description, shadcn's
gap-0.5. Defaults to the theme's value.
final
hashCode
→ int
The hash code for this object.
no setter inherited
iconColor
→ Color ?
Color of the icon, overrides theme default if provided.
Applied to the IconTheme if icon is not null.
final
iconPadding
→ EdgeInsetsGeometry ?
Padding around the icon, defaults to right padding of 12 if not specified.
Controls the spacing between the icon and adjacent content.
final
iconSize
→ double ?
Size of the icon, overrides theme default if provided.
final
mainAxisAlignment
→ MainAxisAlignment ?
Main axis alignment for the alert's content, defaults to start if not
specified. Controls horizontal arrangement of icon and text content within
the Row .
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
titleStyle
→ TextStyle ?
The title widget of the alert, typically a Text widget.
Displayed with the style defined by titleStyle or theme defaults.
final