build method

Table build()

构建 Table widget

Implementation

Table build() {
  // Flutter Table 不支持 borderCollapse 参数,通过 border 实现
  return Table(
    children: children,
    columnWidths: _columnWidths,
    defaultColumnWidth: _defaultColumnWidth ?? const FlexColumnWidth(1.0),
    textDirection: _textDirection,
    border: _border,
    defaultVerticalAlignment: _defaultVerticalAlignment,
    textBaseline: _textBaseline,
  );
}