| 1 | import 'package:cake_wallet/core/validator.dart'; |
| 2 | import 'package:cake_wallet/generated/i18n.dart'; |
| 3 | |
| 4 | class TemplateValidator extends TextValidator { |
| 5 | TemplateValidator() |
| 6 | : super( |
| 7 | minLength: 0, |
| 8 | maxLength: 0, |
| 9 | pattern: '''^[^`,'"]{1,20}\$''', |
| 10 | errorMessage: S.current.error_text_template); |
| 11 | } |