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? conform, VoidCallback? onCancel, VoidCallback? onConfirm}) → 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, MainAxisAlignment? actionsAlignment, bool close = false}) → void
showLoading() → void
showModal(Widget content) → void
showToast(dynamic text) → dynamic