flutter upgrade app code example
Example 1: update flutter
flutter upgrade
Example 2: flutter update app version
flutter build appbundle --build-name=1.0.1 --build-number=2
Example 3: flutter update
$ flutter channel
flutter upgrade
flutter build appbundle --build-name=1.0.1 --build-number=2
$ flutter channel