Question : contains method for email in flutter
Answered by : john-james
var email = "[email protected]"
bool emailValid = RegExp(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+").hasMatch(email);
Source : https://stackoverflow.com/questions/16800540/validate-email-address-in-dart | Last Update : Tue, 19 May 20