openEntryDialog abstract method

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 = true,
})

Implementation

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 = true,
});