-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add Cupertino icon fonts helper and dependency for default template #12559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
szakarias
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| /// Identifiers for the supported Cupertino icons. | ||
| /// | ||
| /// Use with with the [Icon] class to show specific icons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with with -> with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| // Manually maintained list | ||
|
|
||
| static const IconData left_chevron = const IconData(0xf3f0, fontFamily: 'packages/cupertino_icons/CupertinoIcons'); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think IconData should have a 'package' parameter like TextStyle so that you don't need to write 'packages/...' in the font family name. I can do that and update this list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
| # The following line ensures that the Material Icons font is | ||
| # included with your application, so that you can use the icons in | ||
| # the Icons class. | ||
| # the material Icons class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure there's a bug on file about moving us to be consistent for both material and cupertino
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do #12569
|
This regressed our documentation benchmark by 475%. |
|
ayy.. will fix |
#10334
Font hosted and maintained separately at https://github.com/flutter/cupertino_icons