-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.perf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spacewaiting for PR to land (fixed)A fix is in flightA fix is in flight
Milestone
Description
Inspired by http://fluttericon.com/
We should be able to tree-shake our .ttf file that holds our material icons. Un-shaken, it's ~130K in size, but every icon takes up only ~300 bytes. We know from the app's usage of Icons what icons it actually needs, so we should be able to ship a font file that's much lower than 130K - likely saving over 100K on final app bundle size.
xster, artob and sachaarbonel
Metadata
Metadata
Assignees
Labels
a: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.perf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spacewaiting for PR to land (fixed)A fix is in flightA fix is in flight