openEntryDialog function
void
openEntryDialog(})
Implementation
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,
}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.dialogStyle()
.openEntryDialog(
app,
context, name, title: title,
ackButtonLabel: ackButtonLabel,
nackButtonLabel: nackButtonLabel,
hintText: hintText, onPressed: onPressed,
initialValue: initialValue,
widthFraction: widthFraction, // percentage of screen width
includeHeading: includeHeading,
);