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