size property

int get size

The amount of pixels in each direction.

Implementation

int get size => sqrt(pixels).floor();