How to set your project up for deferred components

The following instructions explain how to set up your
Android app for deferred loading.

Step 1: Dependencies and initial project setup

Add Play Core to the Android app’s
    build.gradle dependencies.
    In android/app/build.gradle add the following:

    
...
dependencies {
  ...
  implementation "com.google.android.play:core:1.8.0"
  ...
}

If using the Google Play Store as the
    distribution model for dynamic features,
    the app must support SplitCompat and provide an instance
    of a PlayStoreDeferredComponentManager.
    Both of these tasks can be accomplished by setting
    the android:name property on the application in
    android/app/src/main/AndroidManifest.xml to
    io.flutter.embedding.android.FlutterPlayStoreSplitApplication: