AppUtils class
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
-
buildClientLogo(int clientType, {double height = 48.0, double width = 100.0})
→ Widget
-
-
formatDateTime(DateTime dateTime)
→ String
-
-
formatINR(dynamic amount, {bool showDecimals = false})
→ String
-
-
getAppVersion()
→ Future<String>
-
-
getDataGridRowColor(int rowIndex)
→ Color
-
-
getDynamicClientLogoUrl(int clientType)
→ String
-
-
hideKeyboard()
→ void
-
-
isSvgLogo(int clientType)
→ bool
-
-
openLink(String url)
→ void
-
-
showActionBottomSheet(BuildContext context, Widget content, {bool isScrollControlled = false})
→ void
-
-
showDialog({required BuildContext context, required String title, Widget? content, String? middleText, VoidCallback? onConfirm, VoidCallback? onCancel, String confirmText = 'OK', String? cancelText, Color confirmTextColor = Colors.white, Color cancelTextColor = Colors.black, Color buttonColor = AppColors.blue})
→ void
-
-
-
showSnackBar(String message, {Color? background, String? title, SnackPosition? position})
→ void
-