isVisible property

bool get isVisible

Whether this layer changes the rendered output.

Implementation

bool get isVisible =>
    opacity > 0 &&
    (blurRadius > 0 || spreadRadius > 0 || offset != Offset.zero);