Test flutter add-to-app repository which shows the bottom padding issue. This demonstrates it on Android, but from experience we know this also happens on iOS
Build this with Gradle >7 or it will fail. Built with:
# gradle.wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
# project level build.gradle
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"