fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.3k stars 301 forks source link

Minimaly clarifies how to use streams #2299

Closed patmuk closed 2 months ago

patmuk commented 2 months ago

Changes

It was unclear to me how to use frb's Streams. This small changes clarify what a user has to do, and what happens automagically :)

Checklist

Remark for PR creator

patmuk commented 2 months ago

LGTM! (I guess it would be great to refine the doc further, but that's out of the scope of this PR :) )

Oh! I hold back, as I did not want to change your text too much, just changing the bare minimum. Ok, for the future I know now that I can change the doc more - feel free to revert whenever you feel that a change is just a matter of taste (should fit your taste).