StringControl.withRegex constructor

StringControl.withRegex({
  1. String? value,
  2. String? regex,
})

FieldControl of String with regex validation.

Implementation

StringControl.withRegex({String? value, this.regex}) {
  setWithRegex(value);
}