ParagraphConstraints class

Layout constraints for Paragraph objects.

Instances of this class are typically used with Paragraph.layout.

The only constraint that can be specified is the width. See the discussion at width for more details.

Constructors

ParagraphConstraints({required double width})
Creates constraints for laying out a paragraph.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
The width the paragraph should use whey computing the positions of glyphs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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