maxValueLength property Null safety

int? maxValueLength

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 SemanticsFlag.isTextField is set. Defaults to null, which means no limit is imposed on the text field.

Implementation

int? get maxValueLength => _maxValueLength;