SnackbarPresets class

Predefined snackbar configurations for common use cases

Constructors

SnackbarPresets()

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

Operators

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

Static Methods

showComingSoon(BuildContext context) → void
Shows a "Coming soon" snackbar
showCopiedToClipboard(BuildContext context) → void
Shows a "Copied to clipboard" snackbar
showDeleted(BuildContext context) → void
Shows a "Deleted successfully" snackbar
showLoading(BuildContext context, {String? message}) → void
Shows a "Loading" snackbar
showNoInternet(BuildContext context) → void
Shows a "No internet connection" snackbar
showPermissionDenied(BuildContext context) → void
Shows a "Permission denied" snackbar
showSaved(BuildContext context) → void
Shows a "Saved successfully" snackbar
showTryAgain(BuildContext context, {required VoidCallback onRetry}) → void
Shows a "Try again" snackbar with action
showUpdated(BuildContext context) → void
Shows a "Updated successfully" snackbar