several changes before restructuring

This commit is contained in:
2023-11-25 08:28:57 -03:00
parent 0100f24290
commit 2b57cd18b4
12 changed files with 374 additions and 177 deletions
+5
View File
@@ -0,0 +1,5 @@
class Utils {
static bool isValidEmail(String email) {
return RegExp(r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$').hasMatch(email);
}
}