copyWith method

TableTheme copyWith({
  1. Border? border,
  2. Color? backgroundColor,
  3. TableCellTheme? cellTheme,
})

Implementation

TableTheme copyWith({
  Border? border,
  Color? backgroundColor,
  TableCellTheme? cellTheme,
}) {
  return TableTheme(
    border: border ?? this.border,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    cellTheme: cellTheme ?? this.cellTheme,
  );
}