annotations/form_validator library

Classes

FormValidator

Enums

FieldValidator
This enum should be used to specify the validation type. The Field decorator has a property validator which expects a List<Map<FieldValidator, dynamic>>. validator: { FieldValidator.required: {'message': 'Fill this or else} }, { FieldValidator.minLength: {'length': 5, 'message': 'Too short'} },