MethodChannelFlutterKeyboardDone constructor

MethodChannelFlutterKeyboardDone()

Implementation

MethodChannelFlutterKeyboardDone() {
  methodChannel.setMethodCallHandler((call) {
    if (call.method == "keyboardShow") {
      _showDone();
    } else {
      _hideDone();
    }

    return Future.value('');
  });
}