openMessageDialog function
void
openMessageDialog(})
Implementation
void openMessageDialog(
AppModel app,
BuildContext context,
String name, {
required String title,
required String message,
String? closeLabel,
double? widthFraction, // percentage of screen width
bool? includeHeading = true,
}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.dialogStyle()
.openMessageDialog(app, context, name,
title: title,
message: message,
closeLabel: closeLabel,
widthFraction: widthFraction,
includeHeading: includeHeading);