renderedRadiusChild property

double renderedRadiusChild

Checks if double 📊 _radiusChild was initialized and returns if so.

Otherwise, checks if 📊 _radiusMap was assigned a value for this 📚 layer and returns if so.

If all else fails, returns _BLUR == 4.0.

A 📚 Layer that is not within filteredLayers will render no filter.

Implementation

double get renderedRadiusChild =>
    _radiusMap?.containsKey(SurfaceLayer.CHILD) ?? false
        ? _radiusMap![SurfaceLayer.CHILD]!
        : (_radiusChild != null)
            ? _radiusChild!
            : _BLUR;