Advanced
Flutter
Q84 / 100
What is tree shaking in the context of a Flutter release build?
Correct! Well done.
Incorrect.
The correct answer is B) A compile-time dead code elimination technique that removes unused Dart code and unused icon font glyphs from the release binary
B
Correct Answer
A compile-time dead code elimination technique that removes unused Dart code and unused icon font glyphs from the release binary
Explanation
Tree shaking removes unreferenced code and assets at compile time. The Dart AOT compiler eliminates unused functions and classes. Flutter also removes unused icon font glyphs (e.g., from material_icons), significantly reducing app size.
Progress
84/100