Home > OS >  Deferred components to reduce app bundle size - Flutter
Deferred components to reduce app bundle size - Flutter

Time:09-20

Whether the Deffered component in flutter reduces the app bundle size for play store upload?.

CodePudding user response:

As the document saying

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.

But the base apk will contain flutter lib. that will be around 9 MB.

CodePudding user response:

short answer is YES. The primary goal of deferred components is to reduce install apk size as well as reduce storage space taken up by the app by omitting features the user may not use. Right now this is only available on Android.

for more you can check https://github.com/flutter/flutter/wiki/Deferred-Components

  • Related