How to align a toggle widget to some text

I have a toggle widget with a toggle icon which is wrapped in a container. Then I have some text also wrapped first wrapped in a column widget and then in a container.

I've wrapped both the toggle and text containers in a row and set the distance between the items to 8 however and cross axis alignment to centre. However when I test the toggle and text somehow overlap and not does aligned to the centre of the row widget.

I've tried pretty much anything. I can move the two containers further apart with individual padding, however I would expect this to be done by the row widget - and nothing sofar have made the toggle and the text align to the horizontally to the centre.

This is what I try to "order":

This is however what I'm getting "served":

Does anyone know what is going on and how I can solve this?

2 replies