openEntryDialog method
Future<void>
openEntryDialog(
- AppModel app,
- BuildContext context,
- String name, {
- required String title,
- String? ackButtonLabel,
- String? nackButtonLabel,
- String? hintText,
- required dynamic onPressed(
- String? response
- String? initialValue,
- double? widthFraction,
- 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,
),
);