Ever needed to combine 2 or more streams and show the result in the UI?
My favourite solution is to use combineLatestX from the RxDart package.
This is quite common when using a real-time DB like Cloud Firestore, and here's how it works. 👇
I've covered the same topic in more detail in this article, which also illustrates some tradeoffs and alternative implementations you could consider:
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
Use IntrinsicWidth , not fixed width |
Opening URLs with xcrun / adb |