JuiSnackBar.error constructor
Implementation
JuiSnackBar.error(
String text, {
Key? key,
}) : super(
key: key,
backgroundColor: JuiColors.error.shade100,
content: _JuiSnackbarContent(
text: text,
color: JuiColors.black,
icon: Icons.cancel_outlined,
),
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(JuiBreakpoints.b24),
),
),
);