Skip to content

Commit

Permalink
feat: use floating snack bars
Browse files Browse the repository at this point in the history
  • Loading branch information
maelchiotti committed Mar 15, 2024
1 parent ec4242c commit 2a00fa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/snack_bar_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class SnackBarManager {
void show({BuildContext? context}) {
ScaffoldMessenger.of(context ?? navigatorKey.currentContext!).showSnackBar(
SnackBar(
behavior: SnackBarBehavior.floating,
content: Text(text),
),
);
Expand Down

0 comments on commit 2a00fa2

Please sign in to comment.