copyWith method

FlutterSpreadsheetUICell copyWith({
  1. VoidCallback? onCellPressed,
  2. FlutterSpreadsheetUICellBuilder? cellBuilder,
})

Implementation

FlutterSpreadsheetUICell copyWith({
  VoidCallback? onCellPressed,
  FlutterSpreadsheetUICellBuilder? cellBuilder,
}) =>
    FlutterSpreadsheetUICell(
      onCellPressed: onCellPressed ?? this.onCellPressed,
      cellBuilder: cellBuilder ?? this.cellBuilder,
    );