characterCount property
Number of characters to display, used when building display.
The value length will be used when no count is provided.
If characterCount > value.length
then text will be left padded.
This also means if characterCount < value.length
then
only last X characters will be displayed (based on characterCount).
For example:
- characterCount is set to 3 and value value to "1" - this will be displayed like "__1" (left padded).
- characterCount is set to 1 and value value to "123" - this will be displayed like "3" (only last character).
Implementation
final int? characterCount;