flutter choose version channel code example
Example 1: flutter change beta fo stabel
$ flutter channel dev
$ flutter upgrade
Example 2: how to switch flutter channels
flutter channel master
$ flutter channel dev
$ flutter upgrade
flutter channel master