get method
Implementation
BoxShadow get(
BuildContext context,
int loop,
) {
var opacityValue = double.tryParse(opacity.size) ?? 1;
if (opacityValue < 0) {
opacityValue = 0;
} else if (opacityValue > 1) {
opacityValue = 1;
}
return BoxShadow(
color: HexColor(fill.getHexColor(
context.stylesState.colorStyles, context.themeMode))
.withOpacity(opacityValue),
blurRadius: double.parse(blur.get(context: context, loop: loop)),
offset: Offset(
double.parse(x.get(context: context, loop: loop)),
double.parse(y.get(context: context, loop: loop)),
),
);
}