Package selection guidance compiled from public package information, community data, and project usage.
A Dart package that enables CLI applications to print colorful, stylish badges directly in the terminal—similar to those seen in README files. It’s ideal for enhancing command-line output with visual indicators like status, version, or build information. The package supports multiple platforms and integrates seamlessly into Flutter and Dart CLI tools. With minimal setup, developers can add professional-looking badges to console logs, improving readability and user experience in terminal-based workflows.
Use cases
Enhancing CLI output with visual status indicators
Displaying version and build info in terminals
Improving log readability in developer tools
Adding branded badges to command-line apps
Creating interactive CLI dashboards
Key features
Terminal badge rendering
Cross-platform support
Simple API for badge creation
Colorful and customizable badges
Lightweight and easy to integrate
Suitable for
CLI tool developers
DevOps and automation scripts
Flutter CLI extensions
Developer experience (DX) enhancements
Command-line application maintainers
Considerations
Limited to terminal output only
No support for non-text environments
Depends on terminal color capabilities
May not render consistently across all terminal types
Best suited for modern, ANSI-capable terminals
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Quirky little dart library for generating badges for your cli apps.
Print badges to the terminal. Yup, those nifty little thingies we use on readmes, but for CLI apps.
Features
Easy to use
Inbuilt themes
Customizable
This is what it can do:
var failedBadge = Badge(label: 'failed', message: '2', theme: BadgeTheme.red);
var successBadge = Badge(label: 'success', message: '2').green();
var skippedBadge = Badge.yellow(label: 'skipped', message: '2');
print(
Badge.inline([
failedBadge,
skippedBadge,
successBadge
]),
);
The above would output something similar to the terminal:
Usage
Usage is simple, import the package and start creating Badges!
I tend to open source anything I can, and love to help people that might need help with the project.
However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are few ways you can do so: