rodydavis / fb_auth

Shared Mobile and Web Firebase Login
MIT License
46 stars 11 forks source link

Example does not work #6

Open brunofgs opened 4 years ago

brunofgs commented 4 years ago

the example doesnt work:

packages/padel/main.dart:27:27: Error: Too few positional arguments: 1 required, 0 given. final _fbAuth = FBAuth(); ^ packages/padel/main.dart:26:11: Error: The method 'dispatch' isn't defined for the class 'AuthBloc'.

But otherwise, thank you for porting this to web flutter.

sallaben commented 4 years ago

https://github.com/felangel/bloc/issues/603#issuecomment-545305975

replace dispatch with add.

rodydavis commented 4 years ago

Please feel free to make a PR. firebase_auth now supports the web.