feat: Centralized Error Handling & Crash Fixes
This commit is contained in:
@@ -29,6 +29,7 @@ class UiSnackbar {
|
||||
required String message,
|
||||
required UiSnackbarType type,
|
||||
Duration duration = const Duration(seconds: 3),
|
||||
EdgeInsetsGeometry? margin,
|
||||
}) {
|
||||
final Color textColor;
|
||||
final Color backgroundColor;
|
||||
@@ -63,6 +64,7 @@ class UiSnackbar {
|
||||
backgroundColor: UiColors.transparent,
|
||||
elevation: 0,
|
||||
behavior: SnackBarBehavior.floating,
|
||||
margin: margin ?? const EdgeInsets.all(16),
|
||||
content: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
child: BackdropFilter(
|
||||
|
||||
Reference in New Issue
Block a user