hasOverflow property

bool get hasOverflow

Returns true if there is overflow in any direction.

Implementation

bool get hasOverflow => top > 0 || bottom > 0 || left > 0 || right > 0;