size method

Photo size(
  1. double x, [
  2. double? y
])

@from Layout ~ set size

Implementation

Photo size(double x, [double? y]) => width(x).height(y ?? x);