Remove obsolete comment (#120265)
* Remove obsolete comment The method `_stopCursorTimer` no longer exists. * Add edited comment back in Addresses these comments: - https://github.com/flutter/flutter/pull/120265#discussion_r1101673834 - https://github.com/flutter/flutter/pull/120265#discussion_r1102120022 --------- Co-authored-by: Kate Lovett <katelovett@google.com>
This commit is contained in:
@@ -2605,7 +2605,7 @@ class EditableTextState extends State<EditableText> with AutomaticKeepAliveClien
|
||||
if (_tickersEnabled && _cursorActive) {
|
||||
_startCursorBlink();
|
||||
} else if (!_tickersEnabled && _cursorTimer != null) {
|
||||
// Cannot use _stopCursorTimer because it would reset _cursorActive.
|
||||
// Cannot use _stopCursorBlink because it would reset _cursorActive.
|
||||
_cursorTimer!.cancel();
|
||||
_cursorTimer = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user