-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
bugSomething isn't workingSomething isn't working
Description
问题
最新版本flutter无法正常使用该组件:
CodeEditor()
环境
- Flutter 3.32.0
- re_editor: ^0.7.0
错误:
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(Internal Consistency Error, Set editing state has been invoked, but no client is set., null, null)
#0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:168:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370:18)
<asynchronous suspension>
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(Internal Consistency Error, Set editing state has been invoked, but no client is set., null, null)
#0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:168:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370:18)
<asynchronous suspension>
如果将readOnly
设置为true
,则不会出现错误。我认为是_code_input.dart:432
函数内部的问题,但没有能力继续确认,希望作者大大修复一下。
todoubaba, VladTheJunior and snumumrik
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working