cake_wallet/lib/core/email_validator.dart
Godwin Asuquo de0ca1de6e
Ionia manage card UI (#374)
* design ui for cakepay

* Add manage cards page ui

* create auth ui for ionia

* add authentication logic

* implement user create card
2022-06-15 12:26:19 +01:00

11 lines
298 B
Dart

import 'package:cake_wallet/core/validator.dart';
import 'package:cake_wallet/generated/i18n.dart';
class EmailValidator extends TextValidator {
EmailValidator()
: super(
errorMessage: 'Invalid email address',
pattern:
'^[^@]+@[^@]+\.[^@]+',
);
}