rows property

List<TableRow> get rows

Implementation

List<TableRow> get rows => List.generate(children.length, (index) {
      final trChild = children[index] as TrNode;
      return TableRow(
          decoration: config.table.headerRowDecoration,
          children: List.generate(trChild.children.length, (index) {
            final currentTh = trChild.children[index];
            return Center(
              child: Padding(
                  padding: config.table.headPadding,
                  child: ProxyRichText(
                    currentTh.build(),
                    richTextBuilder: visitor.richTextBuilder,
                  )),
            );
          }));
    });