copyWith method

TablePlusResizeHandleTheme copyWith({
  1. double? width,
  2. Color? color,
  3. double? thickness,
  4. double? indent,
  5. double? endIndent,
})

Creates a copy of this theme with the given fields replaced with new values.

Implementation

TablePlusResizeHandleTheme copyWith({
  double? width,
  Color? color,
  double? thickness,
  double? indent,
  double? endIndent,
}) {
  return TablePlusResizeHandleTheme(
    width: width ?? this.width,
    color: color ?? this.color,
    thickness: thickness ?? this.thickness,
    indent: indent ?? this.indent,
    endIndent: endIndent ?? this.endIndent,
  );
}