widget.userValidator ?? FlutterLogin.defaultEmailValidator;
This should set specific validators based on userType (which might want an alias like userNameType)
To Reproduce
Steps to reproduce the behaviour:
- run an app with a FlutterLogin.userType = UserType.text;
- enter a non-email username
- submit
Note the error message: Invalid email!
Expected behavior
appropriate validate for each value of UserType
Screenshots

Workaround
Set an explicit validator
This should set specific validators based on userType (which might want an alias like
userNameType)To Reproduce
Steps to reproduce the behaviour:
Note the error message: Invalid email!
Expected behavior
appropriate validate for each value of UserType
Screenshots

Workaround
Set an explicit validator