Fixed width problem in choose game view

This commit is contained in:
2025-12-06 17:23:20 +01:00
parent 10aad47124
commit 3d12f0c160

View File

@@ -49,15 +49,15 @@ class _ChooseGameViewState extends State<ChooseGameView> {
), ),
centerTitle: true, centerTitle: true,
), ),
body: Container( body: Column(
decoration: CustomTheme.standardBoxDecoration,
padding: const EdgeInsets.all(10),
child: Column(
children: [ children: [
CustomSearchBar( Padding(
padding: const EdgeInsets.symmetric(horizontal: 10),
child: CustomSearchBar(
controller: searchBarController, controller: searchBarController,
hintText: 'Game Name', hintText: 'Game Name',
), ),
),
const SizedBox(height: 5), const SizedBox(height: 5),
Expanded( Expanded(
child: ListView.builder( child: ListView.builder(
@@ -79,7 +79,6 @@ class _ChooseGameViewState extends State<ChooseGameView> {
), ),
], ],
), ),
),
); );
} }
} }