widthPixels property

int get widthPixels

The horizontal pixels of this size. 水平范围的像素值

Implementation

static int get widthPixels => (width * scale).toInt();