updateKeyboardHeight method

void updateKeyboardHeight(
  1. double newValue
)

Implementation

void updateKeyboardHeight(double newValue) {
  if (newValue > 700) {
    mLogger.e(
        "[updateKeyboardHeight] The newValue is im-normal, newValue:$newValue");
    return;
  }
  if (newValue > 0) {
    maxKeyboardHeight.value = newValue;
    box.write(_maxKeyboardHeightKey, maxKeyboardHeight.value);
  }
}