Any ideas how I can remove the huge padding from a Flutter PopupmenuButton? Something like a shrinkWrap or even an alternative widget that can use? It's ruining the alignment of my elements.
I tried setting the padding
to 0 but no effect at all.
padding: EdgeInsets.all(0)
Supplying
child
rather thanicon
will allow you to use a custom widget with any desired size/padding.Note:
Icons.more_vert
carries its own padding, but any custom icon can be used to avoid that.