CLAlert.solid constructor
CLAlert.solid(})
Solid (filled) variant. Background color saturates to the semantic tone; foreground stays light. Kept for high-emphasis system messages.
Implementation
CLAlert.solid(
String alertTitle,
String alertText, {
Key? key,
IconData? icon,
IconAlignment iconAlignment = IconAlignment.start,
Color? backgroundColor,
Color? foregroundColor,
void Function()? onClose,
}) : this._(
key: key,
alertTitle,
alertText,
icon: icon,
iconAlignment: iconAlignment,
decoration: BoxDecoration(color: backgroundColor),
radiusToken: _cardRadius,
foregroundColor: foregroundColor ?? Colors.white,
onClose: onClose,
);