TextConfiguration
class TextConfiguration
Class representing aspects of Text that can be configured with LocalTextConfiguration.
Summary
Public constructors |
|---|
TextConfiguration( |
Public properties |
|
|---|---|
Int |
The maximum number of lines for the text to span, wrapping if necessary. |
TextOverflow |
How visual overflow should be handled. |
TextAlign? |
The alignment of the text within the lines of the paragraph. |
Public constructors
TextConfiguration
Added in 1.5.0
TextConfiguration(
textAlign: TextAlign?,
overflow: TextOverflow,
maxLines: Int
)
| Parameters | |
|---|---|
textAlign: TextAlign? |
The alignment of the text within the lines of the paragraph. |
overflow: TextOverflow |
How visual overflow should be handled. |
maxLines: Int |
The maximum number of lines for the text to span, wrapping if necessary. |