msgCharacterCounter method
The message to display when character counter is shown.
The character count in the form "currentCount
/ maxCount
", such as
12 / 25
, when maxCount
is non-null; otherwise simply "currentCount
".
Implementation
String msgCharacterCounter(int currentCount, int? maxCount) =>
maxCount == null
? '$currentCount'
: _msgCharacterCounter(currentCount, maxCount);