email_validator 2.1.15 email_validator: ^2.1.15 copied to clipboard
A simple (but correct) dart class for validating email addresses
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'));
}