isBare property

bool get isBare

True when the frame paints nothing itself and is purely structural.

Implementation

bool get isBare =>
    fill == null &&
    image == null &&
    stroke == null &&
    shadows.isEmpty &&
    backgroundBlur == null &&
    !clip;