maxValueLength property
final
The maximum number of characters that can be entered into an editable text field.
For the purpose of this function a character is defined as one Unicode scalar value.
This should only be set when textField is true. Defaults to null, which means no limit is imposed on the text field.
Implementation
final int? maxValueLength;