copyWith method

FdcGridCellIndicatorStyle copyWith({
  1. Color? readOnlyColor,
  2. Color? editableColor,
  3. Color? editingColor,
  4. double? thickness,
  5. BorderRadius? borderRadius,
})

Creates a copy with selected values replaced.

Implementation

FdcGridCellIndicatorStyle copyWith({
  Color? readOnlyColor,
  Color? editableColor,
  Color? editingColor,
  double? thickness,
  BorderRadius? borderRadius,
}) {
  return FdcGridCellIndicatorStyle(
    readOnlyColor: readOnlyColor ?? this.readOnlyColor,
    editableColor: editableColor ?? this.editableColor,
    editingColor: editingColor ?? this.editingColor,
    thickness: thickness ?? this.thickness,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}