RegexValidator constructor

RegexValidator({
  1. required RegExp regex,
  2. List<String> examples = const [],
})

Implementation

RegexValidator({
  required this.regex,
  this.examples = const [],
});