File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ class QuillEditorState extends State<QuillEditor>
196
196
QuillEditorConfig get configurations => widget.config;
197
197
QuillEditorConfig get config => widget.config;
198
198
199
- // The offset of the drag gesture - where to display the magnifier
199
+ /// {@macro drag_offset_notifier}
200
200
final dragOffsetNotifier = isMobileApp ? ValueNotifier <Offset ?>(null ) : null ;
201
201
202
202
@override
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class QuillRawEditor extends StatefulWidget {
26
26
final QuillController controller;
27
27
final QuillRawEditorConfig config;
28
28
29
+ /// {@template drag_offset_notifier}
29
30
/// dragOffsetNotifier - Only used on iOS and Android
30
31
///
31
32
/// [QuillRawEditor] contains a gesture detector [EditorTextSelectionGestureDetector]
@@ -44,6 +45,7 @@ class QuillRawEditor extends StatefulWidget {
44
45
/// the correct location (or hide the magnifier if null). [EditorTextSelectionOverlay] will
45
46
/// use the value of the dragOffsetNotifier to hide the context menu when the magnifier is
46
47
/// displayed and show the context menu when dragging is complete.
48
+ /// {@endtemplate}
47
49
final ValueNotifier <Offset ?>? dragOffsetNotifier;
48
50
49
51
@override
You can’t perform that action at this time.
0 commit comments