canPaintShadow property

bool canPaintShadow

Whether bar shadow could to be painted or not.

Implementation

bool get canPaintShadow =>
    (shadowColor != null || selectedShadowColor != null) &&
    shadowElevation > 0;