Update Paragraph.getLineBoundary docs (#83626)

This commit is contained in:
omchiii 2021-06-03 01:29:02 +02:00 committed by GitHub
parent dfcc14e319
commit 563da62873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);