flutter/dev/tools/vitool
Nate 3267fbc07a
Implement switch expressions in dev/ (#139048)
I previously made a PR (#136140) that used `switch` expressions to make some parts of the Flutter codebase easier to understand. It was assigned to the framework team, and @christopherfujino let me know that it was too large to effectively review and recommended breaking it up into smaller pull requests.

Here's a PR that only targets files in the `dev/` directory. Hopefully this will be easier to work with!

(solves issue https://github.com/flutter/flutter/issues/136139)
2023-11-28 23:40:28 +00:00
..
bin Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
lib Implement switch expressions in dev/ (#139048) 2023-11-28 23:40:28 +00:00
test Remove unnecessary null checks in dev/tools (#118845) 2023-01-20 04:06:09 +00:00
test_assets
.gitignore Do not ignore pubspec.lock in project templates (#24209) 2019-01-09 10:10:38 -08:00
pubspec.yaml Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
README.md ✒ Spell Check All .md Files Related to Flutter 💙 (#61564) 2020-07-22 18:23:47 -07:00

vitool

This tool generates Dart files from frames described in SVG files that follow the small subset of SVG described below. This tool was crafted specifically to handle the assets for certain Material design animations as created by the Google Material Design team, and is not intended to be a general-purpose tool.

Supported SVG features

  • groups
  • group transforms
  • group opacities
  • paths (strokes are not supported, only fills, elliptical arc curve commands are not supported)