currentValueLength property

int? currentValueLength

The current number of characters that have been 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 isTextField is true. Must be set when maxValueLength is set.


int? get currentValueLength => _currentValueLength;
void currentValueLength=(int? value)


set currentValueLength(int? value) {
  if (value == currentValueLength) {
  _currentValueLength = value;
  _hasBeenAnnotated = true;