hasInsets property

bool hasInsets

Returns whether any of the values are greater than zero.

This corresponds to one of the sides (left, top, right, or bottom) having some positive inset towards the center.

Implementation

bool get hasInsets => left > 0.0 || top > 0.0 || right > 0.0 || bottom > 0.0;