GNDialogs class

Constructors

GNDialogs.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
pd ProgressDialog
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dismissPd(dynamic isClose) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showPd(dynamic context, dynamic isNew, dynamic message) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

showAddDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void
showDataLostDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void
showDeleteDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void
showDialog({required String title, required String message, required String yes, required String no, required dynamic callback(bool value), dynamic onCancel(bool value)?, bool? barrierDismissible}) → void
showDialogOneButton({required String title, required String message, required String yes, required dynamic callback(bool value)}) → void
showDialogWithTextFormField({required String title, required String hintText, required TextEditingController controller, required GlobalKey<FormState> formKey, required bool isRequired, required dynamic onSubmit(String)}) → void
showExitDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void
showLogoutDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void
showMaintenanceDialog({required dynamic callback(bool value)}) → void
showUpdateDialog({required dynamic callback(bool value), dynamic onCancel(bool value)?}) → void