AlertStyle constructor
const
AlertStyle({
- SheetVariant? variant,
- SheetSeverity? severity,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Clip? clipBehavior,
- Color? shadowColor,
- Color? surfaceTint,
- double? elevation,
- TextStyle? foregroundStyle,
- Color? foregroundColor,
- double? foregroundOpacity,
- int? foregroundAlpha,
- double? foregroundSpacing,
- bool? foregroundLoosen,
- bool? foregroundExpanded,
- CrossAxisAlignment? foregroundAlign,
- MainAxisAlignment? foregroundJustify,
- Color? backgroundColor,
- double? backgroundOpacity,
- int? backgroundAlpha,
- Color? borderColor,
- double? borderOpacity,
- int? borderAlpha,
- double? borderWidth,
- BorderRadius? borderRadius,
- BorderStyle? borderStyle,
- Color? iconColor,
- double? iconOpacity,
- double? iconSize,
Create a raw alert's style
Implementation
const AlertStyle({
super.variant,
super.severity,
super.margin,
super.padding,
super.clipBehavior,
super.shadowColor,
super.surfaceTint,
super.elevation,
super.foregroundStyle,
super.foregroundColor,
super.foregroundOpacity,
super.foregroundAlpha,
super.foregroundSpacing,
super.foregroundLoosen,
super.foregroundExpanded,
super.foregroundAlign,
super.foregroundJustify,
super.backgroundColor,
super.backgroundOpacity,
super.backgroundAlpha,
super.borderColor,
super.borderOpacity,
super.borderAlpha,
super.borderWidth,
super.borderRadius,
super.borderStyle,
super.iconColor,
super.iconOpacity,
super.iconSize,
}) : super(width: double.infinity);