Fixed keyboard bug

This commit is contained in:
2025-07-31 22:45:31 +02:00
parent 3debe3d88e
commit 7fd5fab8c0
2 changed files with 5 additions and 3 deletions

View File

@@ -289,7 +289,6 @@ class _CreateGameViewState extends State<CreateGameView> {
Padding( Padding(
padding: const EdgeInsets.fromLTRB(0, 0, 0, 50), padding: const EdgeInsets.fromLTRB(0, 0, 0, 50),
child: Center( child: Center(
key: const ValueKey('create_game_button'),
child: CustomButton( child: CustomButton(
child: Text( child: Text(
AppLocalizations.of(context).create_game, AppLocalizations.of(context).create_game,
@@ -298,7 +297,10 @@ class _CreateGameViewState extends State<CreateGameView> {
), ),
), ),
onPressed: () { onPressed: () {
FocusScope.of(context).unfocus();
Future.delayed(const Duration(milliseconds: 300), () {
_checkAllGameAttributes(); _checkAllGameAttributes();
});
}, },
), ),
), ),

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.5.4+605 version: 0.5.4+608
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4