♻️ Refactored all ScaffoldMessager to use unifined snackbar API

This commit is contained in:
2025-11-22 18:42:12 +08:00
parent f50a19f573
commit 5deb910fa4
13 changed files with 36 additions and 111 deletions

View File

@@ -29,14 +29,11 @@ void showSnackBar(String message, {SnackBarAction? action}) {
),
),
),
curve: Curves.easeInOut,
snackBarPosition: SnackBarPosition.bottom,
);
}
void clearSnackBar(BuildContext context) {
ScaffoldMessenger.of(context).clearSnackBars();
}
OverlayEntry? _loadingOverlay;
GlobalKey<_FadeOverlayState> _loadingOverlayKey = GlobalKey();