usernameInstagram property
Username (Instagram) regex
May start with @ Minimum 3 characters, maximum 30 characters Allowed to use aplhanumeric, underscore ("_") and period (".") characters Can't start or end with period (".") Can't have consecutive period (.).
Implementation
static String usernameInstagram = r'^(?!.*\.\.)@?\w[\w\.]{1,28}\w$';