How to validate email in Flutter

  1. Adding email_validator in pubspec.yaml file
    Add the email_validator plugin in the dependencies in pubspec.yaml file. Then click on the pub get on the top.
pubspec.yaml
Example code

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store