💫 Adjust snackbar animation

This commit is contained in:
2025-11-30 17:29:20 +08:00
parent 64ab30b0a9
commit a7960da362

View File

@@ -31,7 +31,11 @@ void showSnackBar(String message, {SnackBarAction? action}) {
), ),
), ),
), ),
curve: Curves.easeInOut, displayDuration: const Duration(milliseconds: 1500),
animationDuration: const Duration(milliseconds: 300),
reverseAnimationDuration: const Duration(milliseconds: 300),
curve: Curves.fastLinearToSlowEaseIn,
dismissType: DismissType.onTap,
snackBarPosition: SnackBarPosition.bottom, snackBarPosition: SnackBarPosition.bottom,
); );
} }