email_validator 2.0.1 icon indicating copy to clipboard operation
email_validator: ^2.0.1 copied to clipboard

A simple (but correct) dart class for validating email addresses

example/example.dart

import 'dart:core';
import 'package:email_validator/email_validator.dart';

void main() {
    const String email = 'fredrik.eilertsen@gail.com';
    final bool isValid = EmailValidator.validate(email);

    print('Email is valid? ' + (isValid ? 'yes' : 'no'));
}
562
likes
110
pub points
99%
popularity

Publisher

unverified uploader

A simple (but correct) dart class for validating email addresses

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on email_validator