SnackBar Sichtbarkeit #144

Merged
flixcoo merged 1 commits from bug/130-Snackbar-Sichtbarkeit into development 2026-01-10 13:54:58 +00:00
3 changed files with 285 additions and 279 deletions

View File

@@ -44,7 +44,8 @@ class _CreateGroupViewState extends State<CreateGroupView> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final loc = AppLocalizations.of(context); final loc = AppLocalizations.of(context);
return Scaffold( return ScaffoldMessenger(
child: Scaffold(
backgroundColor: CustomTheme.backgroundColor, backgroundColor: CustomTheme.backgroundColor,
appBar: AppBar(title: Text(loc.create_new_group)), appBar: AppBar(title: Text(loc.create_new_group)),
body: SafeArea( body: SafeArea(
@@ -106,6 +107,7 @@ class _CreateGroupViewState extends State<CreateGroupView> {
], ],
), ),
), ),
),
); );
} }
} }

View File

@@ -119,7 +119,8 @@ class _CreateMatchViewState extends State<CreateMatchView> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final loc = AppLocalizations.of(context); final loc = AppLocalizations.of(context);
return Scaffold( return ScaffoldMessenger(
flixcoo marked this conversation as resolved
Review

Warum hat diese View den ScaffoldMessenger, du hast doch überhaupt keine Snackbar in dieser View

Warum hat diese View den ScaffoldMessenger, du hast doch überhaupt keine Snackbar in dieser View
Review

wegen player selection

wegen player selection
Review

die hat ne snackbar

die hat ne snackbar
child: Scaffold(
backgroundColor: CustomTheme.backgroundColor, backgroundColor: CustomTheme.backgroundColor,
appBar: AppBar(title: Text(loc.create_new_match)), appBar: AppBar(title: Text(loc.create_new_match)),
body: SafeArea( body: SafeArea(
@@ -255,6 +256,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
], ],
), ),
), ),
),
); );
} }

View File

@@ -21,7 +21,8 @@ class _SettingsViewState extends State<SettingsView> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final loc = AppLocalizations.of(context); final loc = AppLocalizations.of(context);
return Scaffold( return ScaffoldMessenger(
child: Scaffold(
appBar: AppBar(backgroundColor: CustomTheme.backgroundColor), appBar: AppBar(backgroundColor: CustomTheme.backgroundColor),
backgroundColor: CustomTheme.backgroundColor, backgroundColor: CustomTheme.backgroundColor,
body: LayoutBuilder( body: LayoutBuilder(
@@ -121,6 +122,7 @@ class _SettingsViewState extends State<SettingsView> {
), ),
), ),
), ),
),
); );
} }