copyWith method

PageBlockCaption copyWith({
  1. RichText? text,
  2. RichText? credit,
})

Implementation

PageBlockCaption copyWith({
  RichText? text,
  RichText? credit,
}) =>
    PageBlockCaption(
      text: text ?? this.text,
      credit: credit ?? this.credit,
    );