You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
To maintain consistency with the existing functions which accept empty string as a measure of success, the onConfirmSignup should also follow the same behavior.
To Reproduce
Steps to reproduce the behavior:
Go to FlutterLogin( onConfirmSignup: (String code, LoginData data) => _onConfirmSignup(context, code, data) )
onConfirmSignup code should be like this to maintain consistency with other functions Future<String> _onConfirmSignup( BuildContext context, String code, LoginData data) async { // logic return ''; }
Instead we have to in following way Future<String?> _onConfirmSignup( BuildContext context, String code, LoginData data) async { // logic return null; }
The text was updated successfully, but these errors were encountered:
Describe the bug
To maintain consistency with the existing functions which accept empty string as a measure of success, the onConfirmSignup should also follow the same behavior.
To Reproduce
Steps to reproduce the behavior:
FlutterLogin( onConfirmSignup: (String code, LoginData data) => _onConfirmSignup(context, code, data) )
Future<String> _onConfirmSignup( BuildContext context, String code, LoginData data) async { // logic return ''; }
Future<String?> _onConfirmSignup( BuildContext context, String code, LoginData data) async { // logic return null; }
The text was updated successfully, but these errors were encountered: