AppSnackBar class

A Material Design snackbar with type-based styling.

Provides user feedback with automatic dismissal and optional actions.

Constructors

AppSnackBar()

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

show(BuildContext context, {required String message, AppSnackBarType type = AppSnackBarType.info, Duration duration = const Duration(seconds: 4), String? actionLabel, VoidCallback? onAction, SnackBarPosition position = SnackBarPosition.bottom, bool showCloseButton = false, Color? backgroundColor, Color? textColor, Color? iconColor, double? borderRadius}) → void
Shows a snackbar with the given configuration.