rules property

List<String? Function()> Function(String value) rules
final

A function that returns a list of validation rules for the input field. Each rule is a function that returns either a string error message or null.

Implementation

final List<String? Function()> Function(String value) rules;