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