openComplexDialog method
Future<void>
openComplexDialog(
- AppModel app,
- BuildContext context,
- String name, {
- required String title,
- required Widget child,
- VoidCallback? onPressed,
- String? buttonLabel,
- double? widthFraction,
- bool? includeHeading,
override
Implementation
@override
Future<void> openComplexDialog(
AppModel app,
BuildContext context,
String name, {
required String title,
required Widget child,
VoidCallback? onPressed,
String? buttonLabel,
double? widthFraction, // percentage of screen width
bool? includeHeading,
}) async =>
await DialogStatefulWidgetHelper.openIt(
context,
name,
_monaStyle.frontEndStyle().dialogWidgetStyle().complexDialog(
app,
context,
title: title,
child: child,
onPressed: onPressed,
buttonLabel: buttonLabel,
widthFraction: widthFraction,
includeHeading: includeHeading,
));