File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ class RegexTextInputValidatorModel extends ConfigurableTextInputValidatorModel {
258
258
);
259
259
260
260
/// Allow only alphabets and digits in the text field.
261
- static const RegexTextInputValidatorModel alphanumeric =
261
+ static const RegexTextInputValidatorModel alphaNumeric =
262
262
RegexTextInputValidatorModel (
263
263
name: 'Alphanumeric' ,
264
264
pattern: r'^[a-zA-Z0-9]+$' ,
@@ -285,7 +285,7 @@ class RegexTextInputValidatorModel extends ConfigurableTextInputValidatorModel {
285
285
static const List <RegexTextInputValidatorModel > defaultValidators = [
286
286
RegexTextInputValidatorModel .digitsOnly,
287
287
RegexTextInputValidatorModel .alphabetsOnly,
288
- RegexTextInputValidatorModel .alphanumeric ,
288
+ RegexTextInputValidatorModel .alphaNumeric ,
289
289
RegexTextInputValidatorModel .email,
290
290
RegexTextInputValidatorModel .custom,
291
291
];
You can’t perform that action at this time.
0 commit comments