renderedRadiusBase property

double renderedRadiusBase

Checks if double 📊 _radiusBase 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 renderedRadiusBase =>
    _radiusMap?.containsKey(SurfaceLayer.BASE) ?? false
        ? _radiusMap![SurfaceLayer.BASE]!
        : (_radiusBase != null)
            ? _radiusBase!
            : _BLUR;