email_validator_flutter 0.0.1 copy "email_validator_flutter: ^0.0.1" to clipboard
email_validator_flutter: ^0.0.1 copied to clipboard

Email validator flutter and dart package is used to validate email address both in dart and flutter.

example/email_validator_flutter_example.dart

import 'package:email_validator_flutter/email_validator_flutter.dart';

void main() {
  EmailValidatorFlutter emailValidatorFlutter = EmailValidatorFlutter();
  final email1 = 'test@example.com';
  final email2 = 'invalid_email@';

  print('$email1 is valid: ${emailValidatorFlutter.validateEmail(email1)}');
  print('$email2 is valid: ${emailValidatorFlutter.validateEmail(email2)}');
}
15
likes
150
pub points
77%
popularity

Publisher

verified publisherwriticle.org

Email validator flutter and dart package is used to validate email address both in dart and flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on email_validator_flutter