openEntryDialog method

  1. @override
Future<void> openEntryDialog(
  1. AppModel app,
  2. BuildContext context,
  3. String name, {
  4. required String title,
  5. String? ackButtonLabel,
  6. String? nackButtonLabel,
  7. String? hintText,
  8. required dynamic onPressed(
    1. String? response
    ),
  9. String? initialValue,
  10. double? widthFraction,
  11. bool? includeHeading,
})
override

Implementation

@override
Future<void> openEntryDialog(
  AppModel app,
  BuildContext context,
  String name, {
  required String title,
  String? ackButtonLabel,
  String? nackButtonLabel,
  String? hintText,
  required Function(String? response) onPressed,
  String? initialValue,
  double? widthFraction, // percentage of screen width
  bool? includeHeading,
}) async =>
    await DialogStatefulWidgetHelper.openIt(
      context,
      name,
      _monaStyle.frontEndStyle().dialogWidgetStyle().entryDialog(
            app,
            context,
            title: title,
            ackButtonLabel: ackButtonLabel,
            nackButtonLabel: nackButtonLabel,
            hintText: hintText,
            onPressed: onPressed,
            initialValue: initialValue,
            widthFraction: widthFraction,
            includeHeading: includeHeading,
          ),
    );