ZainpayViewUtils class

Constructors

ZainpayViewUtils()

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
showProgressDialog(String message, BuildContext context, bool dismissible, Widget? progressIndicator, TextStyle? textStyle, Color? dialogBackgroundColor) Future<void>
Shows progress dialog
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

appBar(BuildContext context, String title, TextStyle appBarTitleTextStyle, Icon appBarIcon, Color appBarColor, [Function? handleBackPress]) AppBar
Creates a customised Appbar
showConfirmPaymentModal(BuildContext context, double amount, Function onContinuePressed) Future<void>
Displays a modal to confirm payment
showSnackBar(BuildContext context, String text) → dynamic
Displays a Snack bar
showToast(BuildContext context, String text) → void
Displays a toast notification