minLength static method

ValidatorFunction minLength(
  1. int minLength
)

Gets a validator that requires the length of the control's value to be greater than or equal to the provided minLength.

The argument minLength argument must not be null.

Implementation

static ValidatorFunction minLength(int minLength) =>
    MinLengthValidator(minLength).validate;