showError<T> static method
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 [],
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,
);
}