error static method

void error(
  1. BuildContext context,
  2. String message, [
  3. String? title
])

Implementation

static void error(BuildContext context, String message, [String? title]) {
  show(context, message, title: title, icon: Icons.error_outline_rounded, color: context.theme.danger);
}