ParagraphConstraints class Null safety

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.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
width double
The width the paragraph should use whey computing the positions of glyphs.
final

Methods

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

Operators

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