tree: 389029aad70dafdc54857807481985fd5f57d061 [path history] [tgz]
  1. bin/
  2. lib/
  3. test/
  4. .gitignore
  5. BUILD.gn
  6. pubspec.yaml
  7. 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.