I am trying to create a switch like in this image:  However, I cannot find a way to reduce the distance between the toggle and the edges to 0. It ends up looking like this:  It would be nice if there was a setting that allows to remove this little bit of padding. I have already looked at the code and by subtracting 9 from the Container width on line 382 I get the following:  This is certainly better, but the 9 is hardcoded for my specific toggle size.
Activity
sunilhari9 commentedon Mar 13, 2023
Hei Perondas, you can set padding:0 to get the desired output
hcakil commentedon Jun 7, 2023
It solved the issue. Maybe we need to add this info to documentation. Thanks.