scaling method

Size scaling({
  1. double p = 1,
})

Implementation

Size scaling({double p = 1}) => Size(width / p, height / p);