isVisible property

bool isVisible

A bool indicating whether the shadow's configuration values mean that the shadow is visible or not.

Implementation

bool get isVisible => blurRadius > 0 && opacity > 0 && color.opacity > 0;