Closed jezsung closed 10 months ago
Patch coverage: 96.77
% and project coverage change: -0.12
:warning:
Comparison is base (
4f70845
) 99.87% compared to head (495bea0
) 99.75%.:exclamation: Current head 495bea0 differs from pull request most recent head b598579. Consider uploading reports for the commit b598579 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Please take a look at the https://github.com/rrousselGit/flutter_hooks/pull/373 first. I added a new hook useStreamSubscription
which does the same thing but more flexible than the useStreamListener
hook. I think this PR could be closed if the other one is merged.
Closing this since the other PR was merged :)
Adds a new hook
useStreamListener
that allows you to subscribe to aStream
and register callback handlers such asonData
,onError
, andonDone
.