email_validator 3.0.0 copy "email_validator: ^3.0.0" to clipboard
email_validator: ^3.0.0 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'));
}
1.13k
likes
160
points
298k
downloads

Publisher

unverified uploader

Weekly Downloads

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