How to center OutlinedTextField and FilledIconButton vertically in Row?
I have an OutlinedTextField
with a FilledIconButton
next to it in a Row
. I set the verticalAlignment
to Alignment.CenterVertically
on the Row
, but the button is slightly offset to the top. When I look at the Preview, the OutlinedTextField
seems to be in one container that fits its size, but the FilledIconButton
seems to be centered in a bigger container that also contains the other container but has a bit of padding at the top, causing the button to be offset to the top.