MaxLength

TextFormField.MaxLength property

Gets or sets the maximum length of the input for the form field.

public int MaxLength { get; set; }

See Also