flutter build apk with the build number and version code example
Example 1: flutter build appbundle
flutter build appbundle
Example 2: flutter signed apk
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key