【发布时间】:2018-08-01 11:20:44
【问题描述】:
我正在尝试使用多个 jsons 请求做一个仪表板,但我希望该请求一个一个地工作,例如当完成第一个请求时开始第二个,当完成第二个时开始第三个,当完成第三个时开始 N。
我的清单代码:
new CustomScrollView(
cacheExtent: height * 6,
slivers: [
new SliverList(
delegate: new SliverChildListDelegate(
[
new RelatorioVendPeriodoAPeriodo(),
new RelatorioMensals(),
new RelatorioDiasDaSemanas(),
new RelatorioVendasTotalidasPorPeriodo(),
new RelatorioDasVendasTotsProdutos(),
]
)
)
]
),
这个新类调用,为我返回请求。有人知道如何延迟吗?
【问题讨论】: