showError<T> static method

Future<T?> showError<T>(
  1. BuildContext context, {
  2. required String message,
  3. String? key,
  4. Curve? curve,
  5. bool? onGoing,
  6. String? title,
  7. Curve? reverseCurve,
  8. NoticeStyle? style,
  9. CustomOverlayToken<T>? token,
  10. List<Widget> actions = const [],
})

Implementation

static Future<T?> showError<T>(
  BuildContext context, {
  required String message,
  String? key,
  Curve? curve,
  bool? onGoing,
  String? title,
  Curve? reverseCurve,
  NoticeStyle? style,
  CustomOverlayToken<T>? token,
  List<Widget> actions = const [],
}) {
  return show<T>(
    context,
    key: key,
    curve: curve,
    title: title,
    token: token,
    message: message,
    actions: actions,
    onGoing: onGoing,
    style: style,
    status: NoticeStatus.error,
    reverseCurve: reverseCurve,
  );
}