copyWith method

TableCellTheme copyWith({
  1. WidgetStateProperty<Border>? border,
  2. WidgetStateProperty<Color>? backgroundColor,
  3. WidgetStateProperty<TextStyle>? textStyle,
})

Implementation

TableCellTheme copyWith({
  WidgetStateProperty<Border>? border,
  WidgetStateProperty<Color>? backgroundColor,
  WidgetStateProperty<TextStyle>? textStyle,
}) {
  return TableCellTheme(
    border: border ?? this.border,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    textStyle: textStyle ?? this.textStyle,
  );
}