does the widget add padding to the icon when it is run for the second time?

It is because of MainAxisAlignment.spaceBetween and the length of the two texts is different, therefore it seems to have different padding. Use MainAxisAlignment.start and you’ll understand.

edit : typo

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top