Flutter builds the project at a time and gets an error of minSdkVersion in flutter. The flutter run time problem is that sometimes, We need to change its value to a higher value of flutter. won't work on the default minSdkVersion value 16. Google Play Store allows minSdkVersion to be 20 or above in mobile application.
Flutter 2.8 or later
Build.gradle update
Before updating to flutter 2.8
After updating to flutter 2.8
You should change from local.properties by the following line
flutter.minSdkVersion=23 //added line
Now re-restart your flutter application.
Happy coding!