usernameGoogle property
Username (Google) regex
Minimum 6 characters, maximum 30 characters Contain letters (a-z), numbers (0-9), and period (.). Must start and end with with letters or numbers. Can't have consecutive period (.).
Implementation
static String usernameGoogle =
r'^(?!.*\.\.)[a-zA-Z0-9][a-zA-Z0-9\.]{4,28}[a-zA-Z0-9]$';