isAutoPrefix property

bool get isAutoPrefix

Implementation

bool get isAutoPrefix {
  final a = maxCharacters > 0;
  final b = text.length > maxCharacters;
  return (a && b) || prefixTextVisible;
}