needsImageLoad property

bool get needsImageLoad

Whether this segment has an image that still needs to be loaded.

Implementation

bool get needsImageLoad =>
    image == null &&
    child == null &&
    (imageProvider != null || (path ?? '').isNotEmpty);