File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ class QuillEditor extends StatefulWidget {
125
125
required this .readOnly,
126
126
required this .expands,
127
127
this .showCursor,
128
+ this .paintCursorAboveText,
128
129
this .placeholder,
129
130
this .enableInteractiveSelection = true ,
130
131
this .scrollBottomInset = 0 ,
@@ -165,6 +166,7 @@ class QuillEditor extends StatefulWidget {
165
166
final EdgeInsetsGeometry padding;
166
167
final bool autoFocus;
167
168
final bool ? showCursor;
169
+ final bool ? paintCursorAboveText;
168
170
final bool readOnly;
169
171
final String ? placeholder;
170
172
final bool enableInteractiveSelection;
@@ -287,7 +289,7 @@ class _QuillEditorState extends State<QuillEditor>
287
289
width: 2 ,
288
290
radius: cursorRadius,
289
291
offset: cursorOffset,
290
- paintAboveText: paintCursorAboveText,
292
+ paintAboveText: widget.paintCursorAboveText ?? paintCursorAboveText,
291
293
opacityAnimates: cursorOpacityAnimates,
292
294
),
293
295
widget.textCapitalization,
You can’t perform that action at this time.
0 commit comments