flutter_keyboard_visibility icon indicating copy to clipboard operation
flutter_keyboard_visibility copied to clipboard

add getkeyboardHeight support ?

Open qiaojun2016 opened this issue 2 years ago • 7 comments

qiaojun2016 avatar Sep 07 '22 01:09 qiaojun2016

agree!

eggyot avatar Sep 13 '22 08:09 eggyot

Doesn't MediaQuery.of(context).viewInsets.bottom work for this?

MisterJimson avatar Sep 14 '22 00:09 MisterJimson

@MisterJimson Thank you for your reply !Here's my problem I have a a legacy project, in Android it set android:windowSoftInputMode="adjustPan|stateHidden",so MediaQuery.of(context).viewInsets.bottom always return 0.0. and I can not change android:windowSoftInputMode to adjustSize。

qiaojun2016 avatar Sep 14 '22 00:09 qiaojun2016

it also doesn't work if you want the final height of the keyboard -- MediaQuery.of(context).viewInsets.bottom will animate from 0 -> maxheight of keyboard.

dannydulai avatar Apr 28 '23 14:04 dannydulai

You can try use https://pub.dev/packages/keyboard_height_plugin get height keyboard

chuvanhoang888 avatar Jul 20 '23 07:07 chuvanhoang888

That one works well. It's my colleague who wrote it for my use case! :-)

dannydulai avatar Jul 20 '23 12:07 dannydulai

Hello Sir, I am using your keyboard height plugin package for my project, but i am having problem not able to run it on flutter version 3.3.10 - sdk 2.18.6 , can you downgrade the version. Keyboard height plugin use sdk >= 2.19.6 Thank you.

Vào 19:05, Th 5, 20 thg 7, 2023 Danny Dulai @.***> đã viết:

That one works well. It's my colleague who wrote it for my use case! :-)

— Reply to this email directly, view it on GitHub https://github.com/MisterJimson/flutter_keyboard_visibility/issues/119#issuecomment-1643805213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5GZ2GQRBERNTQN5L6IVJ3XRENJPANCNFSM6AAAAAAQGKPCF4 . You are receiving this because you commented.Message ID: @.*** com>

chuvanhoang888 avatar Jul 23 '23 10:07 chuvanhoang888