How to update the Flutter SDK?
You can write
flutter upgrade
command in terminal to update flutter sdk
I want to upgrade most latest version. So I used below commands:
flutter channel dev
Flutter has 4 project branches / channels ie stable, master, dev, beta. First when we install it. flutter install stable channel.
If you want to switch :
flutter channel chanel_name
Then update that :
flutter upgrade