computedBoxShadow property
KrakenBoxShadow
get
computedBoxShadow
Implementation
KrakenBoxShadow get computedBoxShadow {
color ??= const Color(0xFF000000);
offsetX ??= CSSLengthValue.zero;
offsetY ??= CSSLengthValue.zero;
blurRadius ??= CSSLengthValue.zero;
spreadRadius ??= CSSLengthValue.zero;
return KrakenBoxShadow(
color: color!,
offset: Offset(offsetX!.computedValue, offsetY!.computedValue),
blurRadius: blurRadius!.computedValue,
spreadRadius: spreadRadius!.computedValue,
inset: inset,
);
}