CLAlert.solid constructor
CLAlert.solid(})
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,
decoration: BoxDecoration(
color: backgroundColor,
borderRadius: BorderRadius.circular(8),
),
foregroundColor: foregroundColor ?? Colors.white,
onClose: onClose,
);