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