Fixed keyboard bug
This commit is contained in:
@@ -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: () {
|
||||||
_checkAllGameAttributes();
|
FocusScope.of(context).unfocus();
|
||||||
|
Future.delayed(const Duration(milliseconds: 300), () {
|
||||||
|
_checkAllGameAttributes();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user