width property

int get width

Non-negative pixel width.

Implementation

int get width => (right - left).clamp(0, 0x7fffffff);