rowDecorations property
The decorations to use for each row of the table.
Row decorations fill the horizontal and vertical extent of each row in the table, unlike decorations for individual cells, which might not fill either.
Implementation
List<Decoration> get rowDecorations => List<Decoration>.unmodifiable(_rowDecorations ?? const <Decoration>[]);
Implementation
set rowDecorations(List<Decoration> value) {
if (_rowDecorations == value)
return;
_rowDecorations = value;
if (_rowDecorationPainters != null) {
for (BoxPainter painter in _rowDecorationPainters)
painter?.dispose();
}
_rowDecorationPainters = _rowDecorations != null ? List<BoxPainter>(_rowDecorations.length) : null;
}