ots library

Classes

OTS

Enums

ToastType

Extensions

OverlayTypeExtension on _OverlayType?

Properties

isDarkTheme bool
is dark theme
getter/setter pair

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