I'm trying all sorts of things to add a little tappable icon to a textField that moves up and down with the floating label:
However, everything I try just focuses the text field on tap, and does not execute the onTap
event of the icon, so the icon is not tappable.
I tried a Stack, but onTap did not execute. Then I tried
CodePudding user response:
Try it like this:
onTap: () {print('tap');},