Update _keyboardVisibilityController.onChange.listen

pull/41/head^2
Xin Yao 4 years ago
parent 06000734e6
commit 2efb4b12c2
  1. 4
      lib/widgets/raw_editor.dart

@ -697,9 +697,7 @@ class RawEditorState extends EditorState
_keyboardVisibilityController = KeyboardVisibilityController();
_keyboardVisibilityController.onChange.listen((bool visible) {
setState(() {
_keyboardVisible = visible;
});
_keyboardVisible = visible;
if (visible) {
_onChangeTextEditingValue();
}

Loading…
Cancel
Save