Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/stub_ui/lib/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,14 @@ class Paragraph {
throw UnimplementedError();
}

/// The distance from the left edge of the leftmost glyph to the right edge of
/// the rightmost glyph in the paragraph.
///
/// Valid only after [layout] has been called.
double get longestLine {
throw UnimplementedError();
}

/// Returns the smallest width beyond which increasing the width never
/// decreases the height.
///
Expand Down