TextWidthBasis enum Null safety
The different ways of measuring the width of one or more lines of text.
See Text.textWidthBasis, for example.
- parent → const TextWidthBasis
multiline text will take up the full width given by the parent. For single line text, only the minimum amount of width needed to contain the text will be used. A common use case for this is a standard series of paragraphs.
- longestLine → const TextWidthBasis
The width will be exactly enough to contain the longest line and no longer. A common use case for this is chat bubbles.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.
→ const List<
A constant List of the values in this enum, in order of their declaration.