email_validator 2.0.0-nullsafety copy "email_validator: ^2.0.0-nullsafety" to clipboard
email_validator: ^2.0.0-nullsafety copied to clipboard

outdated

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'));
}
1115
likes
0
pub points
100%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on email_validator