openFlexibleDialog method

  1. @override
Future<void> openFlexibleDialog(
  1. AppModel app,
  2. BuildContext context,
  3. String name, {
  4. String? title,
  5. required Widget child,
  6. List<Widget>? buttons,
  7. double? widthFraction,
  8. 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,
          ));
}