Bloc: debounceTime and mergeWith not working

Created on 11 Jan 2020  路  3Comments  路  Source: felangel/bloc

Hi @felangel

I'm trying to get validation working with Firebase Login example,
but for somehow, I can't get it working with the streams from transformEvents like in the screenshot below.

image

I also have defined observable, as you have done on your medium post, but still not working.

final observableStream = events as Observable<LoginEvent>;

image

Can you please help out the best way to do form validation with the login, or I should go have a look the old Form validation example, which I'm not sure that is updated with the latest version of the library.

Thanks

question

Most helpful comment

Closing for now but feel free to comment with a link to a sample app or additional info if you're still running into problems 馃憤

Worked, thanks

All 3 comments

Hi @jjoao07 馃憢
Thanks for opening an issue!

You need to make sure you import the RxDart package. With bloc v3.0.0 and above you no longer need to cast to Observable because RxDart uses extensions on Stream. Let me know if that helps 馃憤

Closing for now but feel free to comment with a link to a sample app or additional info if you're still running into problems 馃憤

Closing for now but feel free to comment with a link to a sample app or additional info if you're still running into problems 馃憤

Worked, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hivesey picture hivesey  路  3Comments

komapeb picture komapeb  路  3Comments

shawnchan2014 picture shawnchan2014  路  3Comments

1AlexFix1 picture 1AlexFix1  路  3Comments

frankrod picture frankrod  路  3Comments