Step 1: Add FlutterActivity to AndroidManifest.xml

FlutterActivity to display a Flutter
experience within an Android app. Like any other

Activity,

<activity

android:name=

"io.flutter.embedding.android.FlutterActivity"

android:theme=

"@style/LaunchTheme"

android:configChanges=

"orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

android:hardwareAccelerated=

"true"

android:windowSoftInputMode=

"adjustResize"

/>