Closed ride4sun closed 4 years ago
Filed a stackoverflow question: https://stackoverflow.com/questions/59507591/how-can-i-make-icon-loading-work-with-late-binding-and-tree-shaking-in-flutter-a
Now you can use the split_icon
command to reduce the package size,see #23
I am wondering if by using this Library dart/ flutter tree shaking still works or if all Icons are loaded in memory because I can access them with an indexer (map)?
FYI Tree shaking. In computing, tree shaking is a dead code elimination technique that is applied when optimizing code written in ECMAScript dialects like Dart, JavaScript, or TypeScript into a single bundle that is loaded by a web browser.