dlgAlert method
Provides a simple way to display a message to the user that must be dismissed.
Implementation
Future<void> dlgAlert({
required String message,
double? height,
String? title,
double? width,
}) async {
return dlgCustom(
actions: [
_buildButton<void>("OK"),
],
content: Text(
message,
softWrap: true,
overflow: TextOverflow.ellipsis,
style: TextStyle(color: _getTheme().contentColor),
),
height: height,
title: title ?? "Attention",
width: width,
);
}