Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign up does not work #6

Open
czmirek opened this issue Oct 24, 2021 · 0 comments
Open

Sign up does not work #6

czmirek opened this issue Oct 24, 2021 · 0 comments

Comments

@czmirek
Copy link

czmirek commented Oct 24, 2021

I'm following README.md but I'm getting this error when I want to sign up a new user.

E/flutter (12487): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Invalid argument (onError): Error handler must accept one Object or one Object and a StackTrace as arguments.: Closure: (HttpException) => Null
E/flutter (12487): #0      Stream.handleError (dart:async/stream.dart:666:7)
E/flutter (12487): #1      IOClient.send (package:http/src/io_client.dart:48:20)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487): #2      BaseClient._sendUnstreamed (package:http/src/base_client.dart:176:32)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487): #3      _withClient (package:http/http.dart:166:12)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487): #4      _MyAppState.getUserDetails (package:flutterdemo/main.dart:149:36)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487): #5      _MyAppState.loginAction (package:flutterdemo/main.dart:181:11)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487): #6      Login.build.<anonymous closure> (package:flutterdemo/main.dart:86:13)
E/flutter (12487): <asynchronous suspension>
E/flutter (12487):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant