maxLength property

int? maxLength
final

The maximum number of characters allowed in the input field.

Type: int?

Usage: Enforces input limits, displaying a character counter if set. Defaults to null for unlimited length.

Implementation

final int? maxLength;