mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Update Paragraph.getLineBoundary docs (#83626)
This commit is contained in:
parent
dfcc14e319
commit
563da62873
|
@ -914,7 +914,7 @@ class TextPainter {
|
|||
|
||||
/// Returns the text range of the line at the given offset.
|
||||
///
|
||||
/// The newline, if any, is included in the range.
|
||||
/// The newline (if any) is not returned as part of the range.
|
||||
TextRange getLineBoundary(TextPosition position) {
|
||||
assert(!_needsLayout);
|
||||
return _paragraph!.getLineBoundary(position);
|
||||
|
|
Loading…
Reference in a new issue