zoukankan      html  css  js  c++  java
  • 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次。
  • 相关阅读:
    poj 3111 卖珠宝问题 最大化平均值
    如何在b站上传高码率视频
    AC自动机总结
    NOIP2018 旅行
    NOI2008 假面舞会 DFS
    鸽子的记录
    Unity学习笔记
    LuoguP1196 [NOI2002]银河英雄传说 并查集
    Luogu1801 黑匣子 堆
    Luogu P1321 单词覆盖还原 字符串
  • 原文地址:https://www.cnblogs.com/forhell/p/9769841.html
Copyright © 2011-2022 走看看