Currently the flutter tool uses whatever is on disk to re-create templates. Unfortunately, this can cause issues if the tool logic gets out of sync with the tmp files.
Namely, this has happened because a tmpl file was removed which matched a gitignore filter, thus causing it to be persisted in the git repo.
This should also be usable by IDEs to figure out what templates and files are supported, but the initial version might not have everything.