CommonHelper class

Constructors

CommonHelper()

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

closeModal() → void
hideLoading() → void
showActionSheet({Widget? title, Widget? content, List<Widget>? actions, Widget? cancel, VoidCallback? onCancel, ValueChanged<int>? onConfirm}) → void
showAlertDialog({Widget? title, required Widget content, Widget? cancel, Widget? confirm, VoidCallback? onCancel, VoidCallback? onConfirm, List<CupertinoDialogAction>? actions, bool barrierDismissible = true, bool isIOSStyle = true}) → void
showDatePicker({dynamic onConfirm(DateTime date)?, String? cancelText, String? confirmText, bool useSafeArea = false}) → dynamic
showDialog({required Widget content, Widget? title, List<Widget>? actions, String? cancelText, String? confirmText, VoidCallback? onConfirm, VoidCallback? onCancel, MainAxisAlignment? actionsAlignment, bool close = false, Widget? foot, bool barrierDismissible = true}) → void
showLoading({String? text}) → void
showModal(Widget content) → void
showToast(dynamic text) → dynamic