📜  合并流 rxdart flutter streambuilder - 任何代码示例

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

代码示例1
import 'package:rxdart/rxdart.dart';

StreamBuilder(
stream: CombineLatestStream.list([
  stream0,
  stream1,
]),
builder: (context, snapshot) {
  final data0 = snapshot.data[0];
  final data1 = snapshot.data[1];
})