When the virtual keyboard is opened, we can get its height with MediaQuery.of(context).viewInsets.bottom
BUT, in case of complicated widgets tree, it doesn't work. So, every time we have to mutate the keyboard size down to the widget tree.
This package is a straightforward and convenient provider that helps get info about: keyboard height, is it open or not, set bool value is screen small or not.
double keyboardHeight
double screenHeight
bool isSmall // returns true if screen height becomes less then smallSize propertybool isOpen // true if open
Full example is here https://github.com/awaik/flutter_keyboard_size/tree/master/example
Credits
This is a project by Agoradesk, P2P cryptocurrency trading platform.
Created by the team behind LocalMonero, the biggest and most trusted Monero P2P trading platform.