NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1436 most downloaded on pub.dev
Console/Logging text coloring and styling library for Dart. 'Terminal string styling done right' The default mode uses ANSI codes to style the text for Console/Terminal display. HTML mode can be activated so that all text is colored and styled using HTML so ChalkDart can be use for sending colored/styled logs to the Server for viewing from a browser as well.
Last release 7 months ago
15 Feb 2026
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 26 of 26 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
26 releases · first in 2022
Performance optimization release — significant speed improvements across all major code paths.
PERF_RECOMMENDATIONS_AND_IMPROVEMENTS.md with practical performance
guidance for library userstest/perf_*.dartsetDefaultOutputMode now re-initializes the chalkstrings also
One column per quarter.
Corresponds to pub.dev/packages/chalkdart version 3.0.5
Corresponds to pub.dev/packages/chalkdart version 3.0.5
- Add TLDR summary to readme
Remove error from README about makeRGBChalk()
Remove html_character_entities dependency and add that code locally
Fix minor error of old ChalkWhitespaceStyle instead of ChalkWhitespaceTreatment
white-space CSS value for [whiteSpaceTreatment]add support for HTML output mode with new supporting methods for Chalk and Chalk string support The intention of this is to allow the use of Chalk for
New HTML Output Features:
Output Mode Control:
Chalk.setDefaultOutputMode = ChalkOutputMode.html to set default mode to html for future constructed Chalk objectschalk.setOutputMode = ChalkOutputMode.html to set the output mode on an existing Chalk objectColor Scheme Support:
Chalk.defaultHtmlBasicANSIColorSet property for setting default color schemeChalk.setDefaultHtmlBasicANSIColorSet method for changing color schemeHTML Safety Methods:
chalk.stripHtmlTags() - Removes HTML tags from textChalk.htmlSafeSpaces() - Preserves spaces in HTML outputChalk.htmlSafeGtLt() - Converts < and > to HTML entitiesChalk.htmlSafeEntities() - Converts all HTML special characters to entitiesStylesheet Generation:
chalk.stylesheet() - Generates CSS styles for HTML outputchalk.inlineStylesheet() - Generates CSS wrapped in <style> tagsString Extension Methods:
stripHtmlTags for removing HTML tagshtmlSafeGtLt for safe HTML character conversionhtmlSafeSpaces for space preservationhtmlSafeEntities for entity conversionstrip to handle HTML tags when in HTML modeExample Command Line Options:
dart run chalkdart_example.dart --html --light >testlightmode.html
dart run chalkdart_example.dart --html --highcontrast >testhighcontrastmode.html
dart run chalkdart_example.dart --html --dark >testdarkmode.html
Corresponds to pub.dev/packages/chalkdart version 2.4.0
Corresponds to pub.dev/packages/chalkdart version 2.4.0
Chalk.xcodeSafeEsc = true; to activate XCode safe mode.
(Requires the use of my "XCode Flutter Color Debugging" VSCode Extension found at
https://marketplace.visualstudio.com/items?itemName=HiveRight.xcodefluttercolordebugging)add Wasm support, Since dart:html is not supported when compiling to Wasm, the correct alternative now is to use dart.library.js_interop to differenti
- Fix README.md that got swapped
Dart format code and fix make_css_x11_methods.dart so it outputs correct dart format.
Added support for color previews to all dart docs using Markdown images and inline SVGs. VSCode supports this.
- Dart format on source
Extended make_css_x11_methods.dart to have capability to generate extensions to String class for all the X11/Css color methods from chalk_x11.dart
chalkstrings_x11.dart class for adding X11 Chalk methods as extensions to String classAdded screenshots to pubspec.yaml
Changed http link in readme to https
- More example cleanup
- Simplify/cleanup example
There is always something. Regenerate dart docs
Use png instead of svg for logo
Remove html/script from README.md and regenerate dart docs
Add link to readme to dart docs on timmaffett.github.io/chalkdart_docswhich have full color docs because they don't work on github/pub.dev from README
Remove html/script sorted table from readme and docs - they don't work on github/pub.dev
Initial public release of chalkdart package.
Initial version, created by Tim Maffett
Your coding agent can read these notes before it upgrades. Set up the MCP server →