I have a white Switch on white background. The default switch toggle elevation seems to be to low which results in the toggle blending with the switch and background.
I know there is Modifier.shadow
that can be applied to modifier, however Switch does not expose the toggle view and its modifier (as far as I figured). So is there a way to control the elevation in such a case?
This is what I want to achieve.