copyWith method

FlutterSpreadsheetUIColumn copyWith({
  1. double? width,
  2. Alignment? contentAlignment,
  3. FlutterSpreadsheetUICellBuilder? cellBuilder,
  4. VoidCallback? onCellPressed,
})

Implementation

FlutterSpreadsheetUIColumn copyWith({
  double? width,
  Alignment? contentAlignment,
  FlutterSpreadsheetUICellBuilder? cellBuilder,
  VoidCallback? onCellPressed,
}) =>
    FlutterSpreadsheetUIColumn(
      width: width ?? this.width,
      cellBuilder: cellBuilder ?? this.cellBuilder,
      contentAlignment: contentAlignment ?? this.contentAlignment,
      onCellPressed: onCellPressed ?? this.onCellPressed,
    );