FLUTTER ECOSYSTEM

email_validator

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

Latest version
3.0.0
30-day downloads
443.6K
Likes
1.2K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The email_validator package provides a simple and accurate Dart class for validating email addresses according to standard RFC 5322 specifications. It ensures reliable email format checking across multiple platforms, including mobile, web, and desktop. The package is lightweight, easy to integrate, and suitable for form validation in Flutter applications. It supports both basic and advanced validation scenarios without requiring external dependencies.

Use cases
  • Form input validation
  • User registration flows
  • Login screen email checks
  • Data integrity verification
  • Real-time email feedback
Key features
  • RFC 5322 compliant validation
  • Cross-platform support
  • Simple API with clear error handling
  • Lightweight and dependency-free
  • Supports internationalized email addresses
Suitable for
  • Flutter apps needing email validation
  • Developers prioritizing correctness over speed
  • Applications requiring strict email format rules
  • Frontend validation in web and mobile apps
  • Projects with minimal external dependencies
Considerations
  • Does not verify if an email actually exists
  • No server-side validation included
  • May reject some valid but uncommon email formats
  • Limited to syntax checking, not delivery confirmation
  • Not suitable for high-volume email processing
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add email_validator

Categories

Source repository

Related projects

Rankings