ots
library
Functions
-
bakeToast(String message, {ToastType type = ToastType.normal})
→ Future<void>
-
----------------------------------Toasts------------------------------------
-
hideLoader()
→ Future<void>
-
-
hideNotification()
→ Future<void>
-
-
showLoader({bool isModal = false, Color? modalColor, bool modalDismissible = true})
→ Future<void>
-
To handle a loader for the application
-
showNotification({String? title, required String message, TextStyle? messageStyle, TextStyle? titleStyle, Color? backgroundColor, int? notificationDuration, int? animDuration, bool? autoDismissible})
→ Future<NotificationWidgetState>
-
This method can be used by the client to show a Notification as an overlay