|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
import 'dart:async'; |
|
|
|
|
import 'dart:convert'; |
|
|
|
|
import 'dart:io'; |
|
|
|
|
|
|
|
|
|
import 'package:flutter/cupertino.dart'; |
|
|
|
|
import 'package:flutter/foundation.dart'; |
|
|
|
@ -700,10 +699,10 @@ class RawEditorState extends EditorState |
|
|
|
|
handleDelete, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
if (Platform.isWindows || |
|
|
|
|
Platform.isMacOS || |
|
|
|
|
Platform.isLinux || |
|
|
|
|
Platform.isFuchsia) { |
|
|
|
|
if (defaultTargetPlatform == TargetPlatform.windows || |
|
|
|
|
defaultTargetPlatform == TargetPlatform.macOS || |
|
|
|
|
defaultTargetPlatform == TargetPlatform.linux || |
|
|
|
|
defaultTargetPlatform == TargetPlatform.fuchsia) { |
|
|
|
|
_keyboardVisible = true; |
|
|
|
|
} else { |
|
|
|
|
_keyboardVisibilityController = KeyboardVisibilityController(); |
|
|
|
|