tree: 94868b203c2794801de1b3fd5d7b56aafc9671db [path history] [tgz]
  1. bin/
  2. test/
  3. .gitignore
  4. BUILD.gn
  5. pubspec.yaml
  6. README.md
tools/const_finder/README.md

Const Finder

This program uses package:kernel from the Dart SDK in //third_party.

A snapshot is created via the build rules in BUILD.gn. This is then vended to the Flutter tool, which uses it to find const creations of IconData classes. The information from this can then be passed to the font-subset tool to create a smaller icon font file specific to the application.

Once flutter/flutter#47162 is resolved, this package should be moved to the flutter tool.