[Feature request] Add support for Web platform for HydratedBloc #1548
Labels
pkg:hydrated_bloc
This issue is related to the hydrated_bloc package
question
Further information is requested
Hi,
since Flutter for Web is in beta state it would be great to add support for persistent BLOC's for Web applications.
It's quite easy to make custom Storage via plugin, but threre is a problem: Storage() class .read() method has 'dynamic' return type and it's synchronous while MethodChannel() class .invokeMethod() method has Future return type and it's asynchronous so it's a little bit tricky to syncronyze sync and async code.
Thanks in advance.
The text was updated successfully, but these errors were encountered: