ParagraphEntry class

////////////////////////////////////////////////////////////////////////// A wrapper around a ui.Paragraph object that represents a piece of laid-out text.

This class handles the creation, layout, and disposal of the underlying Paragraph object.

Constructors

ParagraphEntry(String text, UiPaint paint, UiTextPaint textPaint, double maxTextwidth)
Creates a new ParagraphEntry by building and laying out a ui.Paragraph.

Properties

hashCode int
The hash code for this object.
no setterinherited
paragraph Paragraph
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes the underlying ui.Paragraph to release its resources.
getHeight() double
Returns the height of the laid-out paragraph.
getWidth() double
Returns the width of the laid-out paragraph.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited