DigitGridData constructor

DigitGridData({
  1. required List<DigitGridColumn> columns,
  2. List<DigitGridRow> rows = const [],
})

Constructor for DigitGridData

Implementation

DigitGridData({
  required this.columns,
  this.rows = const [],
}) : assert(rows.every((e) => e.cells.length == columns.length));