code for flutter build release code example
Example 1: flutter generate apk
flutter build appbundle
Example 2: flutter signed apk
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
flutter build appbundle
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key