瀏覽代碼

quick fix currentTextEditingValue

lucky1213 5 年之前
父節點
當前提交
860786c5f0
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      packages/zefyr/lib/src/widgets/input.dart

+ 5
- 0
packages/zefyr/lib/src/widgets/input.dart 查看文件

171
     // TODO: implement updateFloatingCursor
171
     // TODO: implement updateFloatingCursor
172
   }
172
   }
173
 
173
 
174
+  @override
175
+  // TODO: implement currentTextEditingValue
176
+  TextEditingValue get currentTextEditingValue =>
177
+      _lastKnownRemoteTextEditingValue;
178
+  
174
   @override
179
   @override
175
   void connectionClosed() {
180
   void connectionClosed() {
176
     if (hasConnection) {
181
     if (hasConnection) {