addCell method
dynamic
addCell({})
Implementation
addCell({
required int leftColumn,
required int columnSpan,
required int rowNumber,
required RowHeight rowHeightMode,
required Widget cell,
}) {
var layoutCell = LayoutCell(
dimensions: dimensions,
rowNumber: rowNumber,
rowHeightMode: rowHeightMode,
leftColumn: leftColumn,
columnSpan: columnSpan,
child: cell,
);
_verifyLeftColumn(leftColumn);
_verifyColumnSpan(leftColumn, columnSpan);
_verifyIfPositionIsFree(layoutCell);
_cells.add(layoutCell);
}