Skip to content

Commit 4b46df2

Browse files
committed
BidirectionalIterator' is deprecated and shouldn't be used
1 parent ba4c25e commit 4b46df2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/widgets/editor.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,8 +1607,7 @@ class RenderEditor extends RenderEditableContainerBox
16071607
}
16081608
}
16091609

1610-
class QuillVerticalCaretMovementRun
1611-
extends BidirectionalIterator<TextPosition> {
1610+
class QuillVerticalCaretMovementRun extends Iterator<TextPosition> {
16121611
QuillVerticalCaretMovementRun._(
16131612
this._editor,
16141613
this._currentTextPosition,
@@ -1629,7 +1628,6 @@ class QuillVerticalCaretMovementRun
16291628
return true;
16301629
}
16311630

1632-
@override
16331631
bool movePrevious() {
16341632
_currentTextPosition = _editor.getTextPositionAbove(_currentTextPosition);
16351633
return true;

0 commit comments

Comments
 (0)