apis/style/frontend/has_dialog_widget library

Classes

HasDialogWidget

Functions

ackNackDialog(AppModel app, BuildContext context, {required String title, required String message, required OnSelection onSelection, String? ackButtonLabel, String? nackButtonLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
complexAckNackDialog(AppModel app, BuildContext context, {required String title, required Widget child, required OnSelection onSelection, String? ackButtonLabel, String? nackButtonLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
complexDialog(AppModel app, BuildContext context, {required String title, required Widget child, VoidCallback? onPressed, String? buttonLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
entryDialog(AppModel app, BuildContext context, {required String title, String? ackButtonLabel, String? nackButtonLabel, String? hintText, required dynamic onPressed(String? response), String? initialValue, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
errorDialog(AppModel app, BuildContext context, {required String title, required String errorMessage, String? closeLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
flexibleDialog(AppModel app, BuildContext context, {required String title, required Widget child, required List<Widget> buttons, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
messageDialog(AppModel app, BuildContext context, {required String title, required String message, String? closeLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget
selectionDialog(AppModel app, BuildContext context, {required String title, required List<String> options, required OnSelection onSelection, String? buttonLabel, bool? includeHeading = true, Key? key, double? widthFraction}) Widget