File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -288,8 +288,10 @@ class EditorTextSelectionGestureDetectorBuilder {
288
288
/// the handlers provided by this builder.
289
289
///
290
290
/// The [child] or its subtree should contain [EditableText] .
291
- Widget build (HitTestBehavior behavior, Widget child) {
291
+ Widget build (
292
+ {required HitTestBehavior behavior, required Widget child, Key ? key}) {
292
293
return EditorTextSelectionGestureDetector (
294
+ key: key,
293
295
onTapDown: onTapDown,
294
296
onForcePressStart:
295
297
delegate.getForcePressEnabled () ? onForcePressStart : null ,
Original file line number Diff line number Diff line change @@ -436,8 +436,8 @@ class _QuillEditorState extends State<QuillEditor>
436
436
);
437
437
438
438
return _selectionGestureDetectorBuilder.build (
439
- HitTestBehavior .translucent,
440
- child,
439
+ behavior : HitTestBehavior .translucent,
440
+ child: child ,
441
441
);
442
442
}
443
443
You can’t perform that action at this time.
0 commit comments