copyWith method

PageBlockTableCell copyWith({
  1. RichText? text,
  2. bool? isHeader,
  3. int? colspan,
  4. int? rowspan,
  5. PageBlockHorizontalAlignment? align,
  6. PageBlockVerticalAlignment? valign,
})

Implementation

PageBlockTableCell copyWith({
  RichText? text,
  bool? isHeader,
  int? colspan,
  int? rowspan,
  PageBlockHorizontalAlignment? align,
  PageBlockVerticalAlignment? valign,
}) =>
    PageBlockTableCell(
      text: text ?? this.text,
      isHeader: isHeader ?? this.isHeader,
      colspan: colspan ?? this.colspan,
      rowspan: rowspan ?? this.rowspan,
      align: align ?? this.align,
      valign: valign ?? this.valign,
    );