What is normally a white border with vertical dashed line, is rendering as a white square, only when using Impeller on a real device.
It seems to be caused by the simple:
Container(
decoration: BoxDecoration(border: Border.all(color: borderColor))
)

Should be:
