copyWith method
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,
);