flutter change version code example

Example 1: flutter update app version

flutter build appbundle --build-name=1.0.1 --build-number=2

Example 2: flutter change beta fo stabel

$ flutter channel dev
$ flutter upgrade

Example 3: update flutter version

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 donwload that :

flutter upgrade

Example 4: flutter change beta fo stabel

$ flutter upgrade