keyboardHeight property

double get keyboardHeight

Get the height of the keyboard

Example: context.keyboardHeight

Implementation

double get keyboardHeight => MediaQuery.of(this).viewInsets.bottom;