-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
add [PUB] downloads badge #10745
base: master
Are you sure you want to change the base?
add [PUB] downloads badge #10745
Conversation
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 your contribution @G1Joshi! A few comments online, but overall this is good work! 👍🏻
return renderDownloadsBadge({ | ||
downloads: downloadCount30Days, | ||
interval: 'month', | ||
colorOverride: 'blue', |
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.
What's the rationale for needing a color override?
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.
Pub
focuses on Dart/Flutter
, with blue as a key element of its brand identity.
PUB
to show the downloads forDart/Flutter
packages and plugins.