Tag

package size reduction

1 views collected around this technical thread.

Tencent Music Tech Team
Tencent Music Tech Team
Feb 5, 2021 · Mobile Development

Flutter iOS Package Size Optimization: Analysis and Implementation

The article examines why adding Flutter to an iOS app inflates the binary, breaks down the framework’s largest parts—engine, AOT snapshot, assets, and ICU data—and details a three‑pronged strategy of compression, externalization and stripping, using custom build scripts to move or delete files and dynamically load data, achieving roughly a 12 MB size reduction.

AOT snapshotFlutterdynamic assets
0 likes · 38 min read
Flutter iOS Package Size Optimization: Analysis and Implementation