copyWith method

PageBlockPreformatted copyWith({
  1. RichText? text,
  2. String? language,
})

Implementation

PageBlockPreformatted copyWith({RichText? text, String? language}) =>
    PageBlockPreformatted(
      text: text ?? this.text,
      language: language ?? this.language,
    );