FFDataTable constructor
FFDataTable({})
Implementation
factory FFDataTable({
$core.int? numColumns,
FFColor? headerRowColor,
$core.double? headerRowHeight,
FFColor? rowColor,
$core.double? rowHeight,
FFBorderRadius? borderRadius,
$core.double? dividerThickness,
$core.bool? showBottomBorder,
$core.bool? hasHorizontalScroll,
FFDimensions? dimensions,
$core.double? columnSpacing,
}) {
final result = create();
if (numColumns != null) result.numColumns = numColumns;
if (headerRowColor != null) result.headerRowColor = headerRowColor;
if (headerRowHeight != null) result.headerRowHeight = headerRowHeight;
if (rowColor != null) result.rowColor = rowColor;
if (rowHeight != null) result.rowHeight = rowHeight;
if (borderRadius != null) result.borderRadius = borderRadius;
if (dividerThickness != null) result.dividerThickness = dividerThickness;
if (showBottomBorder != null) result.showBottomBorder = showBottomBorder;
if (hasHorizontalScroll != null)
result.hasHorizontalScroll = hasHorizontalScroll;
if (dimensions != null) result.dimensions = dimensions;
if (columnSpacing != null) result.columnSpacing = columnSpacing;
return result;
}