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次。
  • 相关阅读:
    centos 研究
    python学习6 web开发
    python学习5 常用三方模块
    python学习4 常用内置模块
    python学习 3笔记
    SQLite
    mysql
    python学习 2数学公式
    python学习 1基础
    shell example02
  • 原文地址:https://www.cnblogs.com/forhell/p/9769841.html
Copyright © 2011-2022 走看看