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  MVVM Android Nedir?

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  What does NFT Binance mean?

Leave a Reply

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