width property

num width

The total size of the horizontal edges. Equal to left + right, where null is interpreted as 0px.

Implementation

num get width => (left ?? 0) + (right ?? 0);