Changed keyboard height
This commit is contained in:
@@ -255,8 +255,8 @@ class _CreateGameViewState extends State<CreateGameView> {
|
|||||||
),
|
),
|
||||||
KeyboardVisibilityBuilder(builder: (context, visible) {
|
KeyboardVisibilityBuilder(builder: (context, visible) {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
return const SizedBox(
|
return SizedBox(
|
||||||
height: 250,
|
height: MediaQuery.of(context).viewInsets.bottom * 0.75,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
|
|||||||
Reference in New Issue
Block a user