patchCount property

int get patchCount

Implementation

int get patchCount => (height ~/ patchSize) * (width ~/ patchSize);