showErrorDialog<T> function
Future<T?>
showErrorDialog<T>(
- BuildContext context, {
- String title = 'Error',
- String? description,
- List<
DialogButton> buttons = const [], - ProDialogTheme? theme,
Shows a DialogType.error dialog with sensible defaults.
Implementation
Future<T?> showErrorDialog<T>(
BuildContext context, {
String title = 'Error',
String? description,
List<DialogButton> buttons = const [],
ProDialogTheme? theme,
}) {
return showProDialog<T>(
context,
type: DialogType.error,
title: title,
description: description,
buttons: buttons,
theme: theme,
);
}