copyWith abstract method

ReportCell copyWith({
  1. double? cellWidth,
  2. double? cellHeight,
  3. double? textSize,
})

Creates a new instance of the ReportCell with updated dimensions.

This method is crucial for the dynamic resizing logic within ReportMaker and ReportDesignBuilder. It allows the engine to adjust cell sizes during the layout phase while preserving the cell's internal data.

Implementation

ReportCell copyWith({
  double? cellWidth,
  double? cellHeight,
  double? textSize,
});