I thought I understood StreamBuilders but I have some doubts that are puzzling me.
I thought that a ConnectionState.waiting means that the connection with the stream is
I use a stream variable otherwise I would have the same error
Stream>> friendUser;
@override
Widget build(BuildContext context) {
final
db = Provider.of(context, listen: false);
friendUser = StreamZip([db.usersStream1(), db.usersStream2()]);
return Scaffold(
...
StreamBuilder>>(
stream: friendUser,
//qui ont deja discuter
initialData: [],
builder: (context, snapshot) {...}),
);
}