DigitValidationRule({ String? customText, bool? showName, }) : super( name: customText ?? 'Has digit', showName: showName ?? true, regex: r'[0-9]');