nschairer / keyboard_height_plugin

Flutter plugin that emits keyboard height before it shows (ios/android)
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

[Android] The keyboard height obtained by some Android phones is incorrect #7

Closed q200892907 closed 1 month ago

q200892907 commented 2 months ago

final height = MediaQuery.of(context).viewInsets.bottom; The keyboard height obtained by the plug-in is different from the bottom height of Flutter. For example, Huawei mate40 pro

q200892907 commented 2 months ago

Add isNavigationBarVisible to determine whether to subtract the corresponding height @nschairer @penkzhou Please verify and merge the code

q200892907 commented 1 month ago

@nschairer Is this library still being maintained?

nschairer commented 1 month ago

Yes it is, I will get this all reviewed and merged today. Apologies for the delay.