Deferred components

Introduction

How to set your project up for deferred components

Step 1: Dependencies and initial project setup
Step 2: Implementing deferred Dart libraries
Step 3: Building the app
Running the app locally
Releasing to the Google Play store

Introduction

Flutter has the capability to build apps that can
download additional Dart code and assets at runtime.
This allows apps to reduce install apk size and download
features and assets when needed by the user.

We refer to each uniquely downloadable bundle of Dart
libraries and assets as a “deferred component”.
This is achieved by using Dart’s deferred imports,
which can be compiled into split AOT shared libraries.