copyWith method

LogicalExtent copyWith({
  1. int? width,
  2. int? height,
  3. double? scaleFactor,
})

A copy of this value with the given members replaced.

Implementation

LogicalExtent copyWith({int? width, int? height, double? scaleFactor}) =>
    LogicalExtent(
      width: width ?? this.width,
      height: height ?? this.height,
      scaleFactor: scaleFactor ?? this.scaleFactor,
    );