How do I change the icon when I pressed on a flutter?

Just wrap the logic around setState(){} in onPressed() of floatingActionButton . When on click on the FloatingActionButton with Refresh Icon, the icon is changed to Stop.

Sizin İçin Seçtik  What are the limitations of 1G technology which are overcome in 2G technology?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do I change the icon when I pressed on a flutter?

Just wrap the logic around setState(){} in onPressed() of floatingActionButton . When on click on the FloatingActionButton with Refresh Icon, the icon is changed to Stop.

Sizin İçin Seçtik  SHIB Binance TR ne zaman gelecek?

Leave a Reply

Your email address will not be published. Required fields are marked *