TextHeightBasis enum
The different ways of measuring the height of one or more lines of text.
See MongolText.textHeightBasis
, for example.
Constructors
- TextHeightBasis()
-
const
Values
- parent → const TextHeightBasis
-
multiline text will take up the full height given by the parent. For single line text, only the minimum amount of height needed to contain the text will be used. A common use case for this is a standard series of paragraphs.
- longestLine → const TextHeightBasis
-
The height will be exactly enough to contain the longest line and no longer. A common use case for this is chat bubbles.
Properties
Methods
-
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
Constants
-
values
→ const List<
TextHeightBasis> - A constant List of the values in this enum, in order of their declaration.