🐛 Fixes bugs

This commit is contained in:
2025-05-22 02:31:24 +08:00
parent 461bd223d6
commit 835b90bf5a
8 changed files with 30 additions and 22 deletions

View File

@ -11,7 +11,9 @@ void showSnackBar(
String message, {
SnackBarAction? action,
}) {
showSnackBar(context, message, action: action);
ScaffoldMessenger.of(
context,
).showSnackBar(SnackBar(content: Text(message), action: action));
}
void clearSnackBar(BuildContext context) {