openErrorDialog method
Future<void>
openErrorDialog(
- AppModel app,
- BuildContext context,
- String name, {
- required String title,
- required String errorMessage,
- String? closeLabel,
- double? widthFraction,
- bool? includeHeading,
override
Implementation
@override
Future<void> openErrorDialog(
AppModel app,
BuildContext context,
String name, {
required String title,
required String errorMessage,
String? closeLabel,
double? widthFraction, // percentage of screen width
bool? includeHeading,
}) async =>
await DialogStatefulWidgetHelper.openIt(
context,
name,
_monaStyle.frontEndStyle().dialogWidgetStyle().errorDialog(
app,
context,
title: title,
errorMessage: errorMessage,
widthFraction: widthFraction,
includeHeading: includeHeading,
),
);