AlertProps class

Alert component properties.

Constructors

AlertProps({required ColorVariant color, String? title, String? message, Widget? child, AlertStyle variant = AlertStyle.subtle, ArcaneGlyph? icon, bool showIcon = true, bool dismissible = false, void onDismiss()?, Widget? action, ArcaneStyleData? styles, ArcaneDecoration? decoration})
const

Properties

action → Widget?
final
child → Widget?
final
color → ColorVariant
final
decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation + theme-specific fields).
final
dismissible → bool
final
hashCode → int
The hash code for this object.
no setterinherited
icon → ArcaneGlyph?
final
message → String?
final
onDismiss → void Function()?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showIcon → bool
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
title → String?
final
variant → AlertStyle
final

Methods

copyWith({ColorVariant? color, String? title, String? message, Widget? child, AlertStyle? variant, ArcaneGlyph? icon, bool? showIcon, bool? dismissible, void onDismiss()?, Widget? action, ArcaneStyleData? styles, ArcaneDecoration? decoration}) → AlertProps
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