Im-Kevin / cool_ui

用flutter实现一些我认为好看的UI控件,有Popover,仿Weui的Toast,自定义键盘
Apache License 2.0
460 stars 74 forks source link

ios 输入框 双击或者长按会报错 #53

Open liaoli opened 4 years ago

liaoli commented 4 years ago

The following NoSuchMethodError was thrown building _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#ce416](dirty, dependencies: [MediaQuery], state: _OverlayEntryWidgetState#61a44): The getter 'cutButtonLabel' was called on null. Receiver: null Tried calling: cutButtonLabel

The relevant error-causing widget was: Overlay file:///Users/mac/Downloads/cool_ui-master/lib/keyboards/keyboard_root.dart:33:20 When the exception was thrown, this was the stack:

0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)

1 _CupertinoTextSelectionControls.buildToolbar (package:flutter/src/cupertino/text_selection.dart:365:44)

2 TextSelectionOverlay._buildToolbar (package:flutter/src/widgets/text_selection.dart:556:34)

3 _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:177:34)

4 StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28)

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Im-Kevin commented 4 years ago

你是什么版本

liaoli commented 4 years ago

最新版本,你的demo也会这样

liaoli commented 4 years ago

有没有解决方案啊