You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add previews for CupertinoIcons in the API docs like material Icons have #45097
I don't know if there's a technical reason for this - it'd be nice to support if possible. In VS Code we use a regex to find these icon previews for Material and swap them out with images that will work there (so you have in-editor previews), but this also fails for Cupertino. If there were previous on the page, we could probably do the same thing there (raised at Dart-Code/Dart-Code#638 (comment)).
@xster I'm doing some work around icons at the moment, and we have the font available now, so I could fix this issue. Are you using a script (like dev/tools/update_icons.dart) to generate cupertino's icons.dart?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
xster commentedon Mar 31, 2020
There's no good reason. I just haven't made the CSS to break out all the icons into images. We should definitely do this.
jmagman commentedon Jun 15, 2020
A user survey response requested this, and also pointed out that the README at https://github.com/flutter/cupertino_icons doesn't have the constants.
guidezpl commentedon Dec 4, 2020
@xster I'm doing some work around icons at the moment, and we have the font available now, so I could fix this issue. Are you using a script (like
dev/tools/update_icons.dart) to generate cupertino'sicons.dart?xster commentedon Dec 4, 2020
Thanks for looking at it. It's https://github.com/xster/framework7-icons/blob/master/build/generate.py#L71
DanTup commentedon Jan 14, 2021
Awesome! I've added support for this to VS Code for the next version. Thanks!
github-actions commentedon Aug 7, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.