flutter table 在showModalBottomSheet中

问题是,不知道为什么又可以了。原来是显示黑屏,没有输出。

showModalBottomSheet<void>(
context: context,
builder: (BuildContext context) {
return new ListView(
padding: const EdgeInsets.all(10.0),
children: <Widget>[
new PaginatedDataTable(
header: Text(code + "明细"),
sortColumnIndex: _sortColumnIndex,
rowsPerPage: currentalldetaildatas.length,
sortAscending: false,
onSelectAll: null,
columns: <DataColumn>[
new DataColumn(
label: const Text('编号'),// onSort: (int columnIndex, bool ascending) => _sort<String>((Dessert d) => d.name, columnIndex, ascending)
),
new DataColumn(
label: const Text('名称'),
),
new DataColumn(
label: const Text('颜色'),
),....
],
source: new CurrentDetailTable(
currentalldetaildatas,
currentalldetaildatas.length))
]);
});
红色字为可能的问题
 
处理了一天的微信的全网发布。api测试老是不通过。另一个普通文本,一会儿正常,一会儿失败,非常奇怪。api文本测试居然会报48001,最后一次点击确定,居然让我通过了。太神奇了。更新了8次。

猜你喜欢

转载自www.cnblogs.com/forhell/p/9769841.html