autoSizeTexts property
By default, the value used is false
Sometimes the titleText
and the bodyText
might not fit well in the constrained label box,
because of the long texts, longer translations or smaller screens.
There are 2 behaviors for this scenario.
The default one will limit the title to 2 lines and the bodyText to 5 lines
and will overflow both with ellipsis, the second one is to automatically resize the texts.
This is controlled by the Onboarding property autoSizeTexts
, which default value is false
.
Implementation
final bool autoSizeTexts;