ESMessage class

Constructors

ESMessage()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

customDialog<T>({required BuildContext context, required Widget content, String? title, bool autoPop = true, bool barrierDismissible = true, dynamic onSubmit()?, dynamic onCancel()?, String okBtnText = 'SUBMIT'}) Future<T?>
showConfirmDialog({required BuildContext context, String? title, String? message, Widget? content, required String buttonLeft, String? buttonRight, bool autoPop = true, dynamic onPressed(int)?, bool barrierDismissible = true}) → dynamic
Shwos a confirmation dialog
showErrorMessage(BuildContext context, {String title = 'Error', String? message, bool barrierDismissible = true, dynamic onPressed()?}) → dynamic
Shwos a dialog with single button. Default title will be 'Error'.
showInfoMessage(BuildContext context, {String title = 'Info', String? message, bool barrierDismissible = true, dynamic onPressed()?}) → dynamic
Shwos a dialog with single button. Default title will be 'Info'.
showInputDialog({required BuildContext context, required String title, String? hitText, dynamic onSubmit(TextEditingController)?, String? defaultValue, String? suffixText}) → void
Shows a dialog which can accept input text
showListDialog({required BuildContext context, required List options, String title = '', String prefixText = '', String suffixText = '', dynamic onSelection(int, dynamic)?, dynamic selectedValue, List<bool> multiSelectValues = const [], String okBtnText = 'Submit', dynamic onSubmit(List<bool>)?, bool barrierDismissible = true, BoxConstraints constraints = const BoxConstraints(maxWidth: 850, maxHeight: 750)}) Future
Shows a dialog with list of items to select
showModalDialog(BuildContext context, {Widget? content, bool barrierDismissible = false, BoxConstraints? constraints = const BoxConstraints(maxWidth: 850, maxHeight: 750)}) Future
showProgressBar({String title = 'Processing', String message = 'Please wait ... !'}) CupertinoAlertDialog
showProgressIndicator({required String title, bool centerTitle = false}) Scaffold
A CircularProgressIndicator can be used to display while processing in background
showQuestionMessage({required BuildContext context, String? title, String? message, Widget? content, bool autoPop = true, Function? onAccept, Function? onReject, bool barrierDismissible = true}) → dynamic