CLAlert.outline constructor
CLAlert.outline(})
Outline-only variant — transparent fill, 30% border, kept lightweight for stacked/inline contexts.
Implementation
CLAlert.outline(
String alertTitle,
String alertText, {
Key? key,
IconData? icon,
IconAlignment iconAlignment = IconAlignment.start,
Color? backgroundColor,
void Function()? onClose,
}) : this._(
key: key,
alertTitle,
alertText,
icon: icon,
iconAlignment: iconAlignment,
decoration: BoxDecoration(
color: Colors.transparent,
border: Border.all(
color: (backgroundColor ?? const Color(0xFF0C8EC7)).withValues(alpha: 0.30),
width: 1,
),
),
radiusToken: _cardRadius,
foregroundColor: backgroundColor ?? const Color(0xFF0C8EC7),
onClose: onClose,
);