Helper class
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
Static Methods
-
amountWithCurrency(String? symbolData, double? amount, {bool isShowCurrencyOnly = false})
→ String
-
-
assetSuccessDialog(BuildContext context, String title, String content, AssetImage asset)
→ dynamic
-
-
close()
→ void
-
helper function to close the screen, popup etc.
-
confirmationDialog(BuildContext context, String title, String content, VoidCallback onClick)
→ dynamic
-
-
copyToClipBoard(String? text)
→ Future
-
-
formatDateInTimeZone(DateTime dateTime)
→ String
-
-
fromTimeStamptoDateTime(double timeStamp)
→ String
-
-
getDateTimeFromString2(String dateTime)
→ String
-
-
getDateTimeFromStringPendingStock(String dateTime)
→ String
-
-
getEnvironment(String baseUrl)
→ String
-
-
getEventName({bool isFinal = false})
→ String
-
-
hideKeyboard()
→ dynamic
-
-
linearAnimation()
→ Widget
-
-
logEvent(String event, {bool isRequest = false, bool success = false, bool failure = false, String endPoint = "", dynamic request, dynamic queryParameters, String? requestDate, dynamic response, String? responseDate, String? errorDescription, String? exceptionParamName, bool isCameraRequired = false, String? cameraPermission, bool isLocationRequired = false, String? locationPermission, String? preciseLocationPermission, String? microphonePermission, bool isNotificationRequired = false, String? notificationPermission, String? status, DioException? error, String? screenName, String? buttonName, String? transactionId, bool isFinal = false})
→ dynamic
-
-
messageDialog(BuildContext context, String title, String content, {bool isDismissible = true, bool isTitlerequired = true, dynamic onTap()?})
→ dynamic
-
-
messageWithNavigationOptionsDialog(BuildContext context, String title, String cancel, String proceed, String content, {bool isDismissible = true, bool isReason = false, required dynamic onProceed(), required dynamic onCancel()})
→ dynamic
-
-
progressDialog(BuildContext context, String? message, {bool canPop = false})
→ dynamic
-
-
setCurrency(Currency symbol)
→ dynamic
-
-
showAssetSnackbar(String title, String message)
→ void
-
-
showCustomSnackbar(String message)
→ void
-