PatternValidator(this.pattern, {required String errorText, this.caseSensitive = true}) : super(errorText);