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