xBuildRow method

DataGridRowAdapter? xBuildRow(
  1. XDataGridRow row
)

Implementation

DataGridRowAdapter? xBuildRow(XDataGridRow row) {
  return DataGridRowAdapter(
      cells: row.getCells().map<Widget>((dataGridCell) {
    return Container(
      color: view.cols.firstWhere((element) => element.colKey == dataGridCell.columnName).xmodelXprop.col_Color.withAlpha(60),
      alignment: Alignment.centerLeft,
      padding: EdgeInsets.symmetric(horizontal: 10.0),
      child: xBuilder_XCell(dataGridCell, row),
    );
  }).toList());
}