Normally the drop shadow opacity will change when the Rectangle it belongs to has it opacity changed. So a zero opacity rectangle draws nothing. No rect. No shadow.
In this example you need to swipe right to bring on a hidden sidebar. It has a pink dropshadow that should start with opacity 0 and be invisible and ramp up to 1.0 opacity and be fully visible once the whole sidebar shows. However it is always 1.0 opacity.
If you comment back in line 38 that gives the Rectangle with a shadow a background colour then it starts to work correctly. This issue is only in the live-preview on VSCode. The same example in Slintpad works as expected.
Normally the drop shadow opacity will change when the Rectangle it belongs to has it opacity changed. So a zero opacity rectangle draws nothing. No rect. No shadow.
In this example you need to swipe right to bring on a hidden sidebar. It has a pink dropshadow that should start with opacity 0 and be invisible and ramp up to 1.0 opacity and be fully visible once the whole sidebar shows. However it is always 1.0 opacity.
If you comment back in line 38 that gives the Rectangle with a shadow a background colour then it starts to work correctly. This issue is only in the live-preview on VSCode. The same example in Slintpad works as expected.