mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-29 06:38:45 +01:00
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
12 lines
343 B
Dart
12 lines
343 B
Dart
import 'package:hash_wallet/core/validator.dart';
|
|
import 'package:hash_wallet/generated/i18n.dart';
|
|
|
|
class TemplateValidator extends TextValidator {
|
|
TemplateValidator()
|
|
: super(
|
|
minLength: 0,
|
|
maxLength: 0,
|
|
pattern: '''^[^`,'"]{1,20}\$''',
|
|
errorMessage: S.current.error_text_template);
|
|
}
|