How can I make a badge like how we ofter see it on GitHub libraries. Like this: . I can use a web view but it is not efficient as it will take time to load and it will also cache it.
Asked
Active
Viewed 119 times
0

Joachim Sauer
- 302,674
- 57
- 556
- 614

Sambhav Khandelwal
- 3,585
- 2
- 7
- 38
1 Answers
1
For this, I have made a library Badge Generator. It is easy to implement. The steps are given below. I will be editing the answer as I post updates.
Sample
Tutorial
Note: This is not updated to the features supported in the latest version.
Features
- You can set a custom label(title)
- You can set a custom message
- You can set a custom image using
base64
or the two links provided in theREADME.md
. - You can set a custom logo color
- You can set a custom label background color
- You can set a custom message background color
- And a lot lot more.

Sambhav Khandelwal
- 3,585
- 2
- 7
- 38
`, broken images/videos and broken lists) – Joachim Sauer Mar 20 '22 at 15:17