apis/style/frontend/has_dialog library

Classes

HasDialog

Functions

openAckNackDialog(AppModel app, BuildContext context, String name, {required String title, required String message, required OnSelection onSelection, String? ackButtonLabel, String? nackButtonLabel, double? widthFraction, bool? includeHeading = true}) → void
openComplexDialog(AppModel app, BuildContext context, String name, {required String title, required Widget child, VoidCallback? onPressed, String? buttonLabel, double? widthFraction, bool? includeHeading = true}) 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 = true}) → void
openErrorDialog(AppModel app, BuildContext context, String name, {required String title, required String errorMessage, String? closeLabel, double? widthFraction, bool? includeHeading = true}) → void
openFlexibleDialog(AppModel app, BuildContext context, String name, {String? title, required Widget child, List<Widget>? buttons, double? widthFraction, bool? includeHeading = true}) Future<void>
openMessageDialog(AppModel app, BuildContext context, String name, {required String title, required String message, String? closeLabel, double? widthFraction, bool? includeHeading = true}) → void
openSelectionDialog(AppModel app, BuildContext context, String name, {required String title, required List<String> options, required OnSelection onSelection, String? buttonLabel, double? widthFraction, bool? includeHeading = true}) → void
openWidgetDialog(AppModel app, BuildContext context, String name, {required Widget child}) Future<void>