copyWith method

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

Implementation

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