📜  futurebuilder 和 streambuilder 之间的区别 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:11.539000             🧑  作者: Mango

代码示例1
Its quite simmilar, the real differance is:
A Future can't listen to a variable change.
It's a one-time response. Instead, you'll need to use a Stream (Who allways listen and update).
Its like Instant Messaging App (Like Whatsapp) VS Email (Like Gmail)