get method
Get Border from actual values
Implementation
Border get(
final BuildContext context, {
required final int loop,
}) {
final values = width.getList(context,
forPlay: context.forPlay, deviceType: context.deviceType);
return Border(
left: BorderSide(
color: fill.getColor(context, loop),
style: style.value,
width: values[0],
),
top: BorderSide(
color: fill.getColor(context, loop),
style: style.value,
width: values[1],
),
right: BorderSide(
color: fill.getColor(context, loop),
style: style.value,
width: values[2],
),
bottom: BorderSide(
color: fill.getColor(context, loop),
style: style.value,
width: values[3],
),
);
}