withSize method

Decor withSize(
  1. double width, [
  2. double? height
])

Implementation

Decor withSize(double width, [double? height]) => this & Size(width, height ?? width);