copyWith method

LogicalSize copyWith({
  1. int? width,
  2. int? height,
})

A copy of this value with the given members replaced.

Implementation

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