ansix
AnsiX is a powerful and easy-to-use library that provides tools and extensions for adding ANSI color and styling support to your Dart & Flutter applications.
0.3.6
5.8K downloads/mo
#280 most downloaded on pub.dev
nikosportolos/ansix
What this package is like to depend on
Last release 5 months ago
22 Mar 2026
Release timing varies
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
21 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
21 releases · May 2023 to Mar 2026Releases
latest 21-
0.3.622 Mar 2026 -
0.3.523 Sep 2025 -
0.3.411 Dec 2024Release notes
Open source →Dependency updates and source code maintenance.
What's Changed
- Bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #265
- Bump actions/checkout from 4.1.2 to 4.1.6 by @dependabot in #271
- Bump lints from 3.0.0 to 4.0.0 by @dependabot in #268
- Bump lints from 3.0.0 to 4.0.0 in /tool/export_docs by @dependabot in #270
- Bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #272
- Bump nikosportolos/dart_package from 0.2.1 to 0.2.2 by @dependabot in #274
- exclude generated files from lints by @nikosportolos in #276
- change dependabot schedule by @nikosportolos in #275
- bump test from 1.25.2 to 1.25.8 by @nikosportolos in #277
- Bump peiffer-innovations/actions-dart-dependency-updater from 1.0.18 to 1.1.0 by @dependabot in #279
- Bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in #280
- bump SDK versions in workflows by @nikosportolos in #283
- Bump lints from 4.0.0 to 5.0.0 in /tool/export_docs by @dependabot in #282
- Bump lints from 4.0.0 to 5.0.0 by @dependabot in #281
- bump collection from 1.18.0 to 1.19.0 by @nikosportolos in #284
- bump meta from 1.12.0 to 1.16.0 by @nikosportolos in #285
- Bump actions/checkout from 4.2.0 to 4.2.1 by @dependabot in #286
- Bump actions/checkout from 4.2.1 to 4.2.2 by @dependabot in #287
- bump collection from 1.19.0 to 1.19.1 by @nikosportolos in #289
- bump path from 1.9.0 to 1.9.1 by @nikosportolos in #290
- bump data_class_plugin from 1.3.0 to 1.5.1 by @nikosportolos in #273
- bump tachyon from 0.3.0 to 0.3.1 by @nikosportolos in #291
- remove update_dependencies workflow by @nikosportolos in #293
- bump test from 1.25.8 to 1.25.12 by @nikosportolos in #294
- prepare for v0.3.4 by @nikosportolos in #295
Full Changelog: v0.3.3...v0.3.4
-
0.3.321 Feb 2024Release notes
Open source →TreeView enhancements & fixes (#261, #261, #263)
- Fixed issue when sublists were parsed as maps
- Fixed various issues with
compactflag of AnsiTreeViewTheme - Added
hideIfEmptyflag in AnsiTreeAnchorTheme - Added more tests
Dependencies
Release notes
Open source →TreeView enhancements & fixes (#261, #261, #263)
- Fixed issue when sublists were parsed as maps
- Fixed various issues with
compactflag of AnsiTreeViewTheme - Added
hideIfEmptyflag in AnsiTreeAnchorTheme - Added more tests
Dependencies
Release notes
Open source →TreeView enhancements & fixes ( #261 , #261 , #263 )
-
Fixed issue when sublists were parsed as maps
-
Fixed various issues with compact flag of AnsiTreeViewTheme
-
Added hideIfEmpty flag in AnsiTreeAnchorTheme
-
Added more tests
Dependencies
-
Βump meta from 1.11.0 to 1.12.0 ( #258 )
-
Βump mocktail from 1.0.2 to 1.0.3 ( #259 )
-
Βump test from 1.25.1 to 1.25.2 ( #260 )
-
0.3.214 Jan 2024Release notes
Open source →Dependencies
- Bump data_class_plugin from 1.2.1 to 1.3.0 (#256)
- Bump test from 1.24.9 to 1.25.1 (#255)
- Bump mocktail from 1.0.1 to 1.0.2 (#254)
- Bump path from 1.8.3 to 1.9.0 (#253)
- Bump tachyon from 0.2.2 to 0.3.0 (#252)
- Bump data_class_plugin from 1.1.0 to 1.2.1 (#251)
- Bump test from 1.24.8 to 1.24.9 (#250)
- Bump tachyon from 0.1.0 to 0.2.2 (#249)
Release notes
Open source →Dependencies
- Bump data_class_plugin from 1.2.1 to 1.3.0 (#256)
- Bump test from 1.24.9 to 1.25.1 (#255)
- Bump mocktail from 1.0.1 to 1.0.2 (#254)
- Bump path from 1.8.3 to 1.9.0 (#253)
- Bump tachyon from 0.2.2 to 0.3.0 (#252)
- Bump data_class_plugin from 1.1.0 to 1.2.1 (#251)
- Bump test from 1.24.8 to 1.24.9 (#250)
- Bump tachyon from 0.1.0 to 0.2.2 (#249)
Release notes
Open source →Dependencies
-
Bump data_class_plugin from 1.2.1 to 1.3.0 ( #256 )
-
Bump test from 1.24.9 to 1.25.1 ( #255 )
-
Bump mocktail from 1.0.1 to 1.0.2 ( #254 )
-
Bump path from 1.8.3 to 1.9.0 ( #253 )
-
Bump tachyon from 0.2.2 to 0.3.0 ( #252 )
-
Bump data_class_plugin from 1.1.0 to 1.2.1 ( #251 )
-
Bump test from 1.24.8 to 1.24.9 ( #250 )
-
Bump tachyon from 0.1.0 to 0.2.2 ( #249 )
-
0.3.123 Oct 2023Release notes
Open source →Dependencies
-
Bump lints from 2.1.1 to 3.0.0 ( #241 )
-
Bump lints from 2.1.1 to 3.0.0 in /tool/export_docs ( #246 )
CI/CD
-
Bump nikosportolos/dart_package from 0.1.2 to 0.2.0 ( #242 )
-
Bump actions/checkout from 4.1.0 to 4.1.1 ( #243 )
-
Dependabot: Check github actions weekly ( #244 )
-
Bump nikosportolos/dart_package from 0.2.0 to 0.2.1 ( #247 )
-
-
0.3.015 Oct 2023Release notes
Open source →Changes/Improvements
- Enhance web support (#225)
- Create custom BrowserDetector (#236)
- Enhance printing methods (#226)
- Add more options in ensureSupportsAnsi() (#234)
Bug fixes
- Fix static instance (#222)
Dependencies
Testing
- Add missing process manager test (#238)
Release notes
Open source →Changes/Improvements
- Enhance web
support (#225)
- Create custom BrowserDetector (#236)
- Enhance printing methods (#226)
- Add more options in ensureSupportsAnsi() (#234)
Bug fixes
- Fix static instance (#222)
Dependencies
Testing
- Add missing process manager test (#238)
Release notes
Open source →Changes/Improvements
-
Enhance web support ( #225 )
-
Create custom BrowserDetector ( #236 )
-
Enhance printing methods ( #226 )
-
Create method printDataGrid ( #220 )
-
Create Writer to mute all Ansi escape codes ( #221 )
-
Create print method ( #223 )
-
Refactor writer ( #224 )
-
Rename to 'Printer' for consistency
-
Enhance testing
-
Add more options in ensureSupportsAnsi() ( #234 )
Bug fixes
- Fix static instance ( #222 )
Dependencies
-
Bump meta from 1.10.0 to 1.11.0 ( #228 )
-
Bump test from 1.24.7 to 1.24.8 ( #229 )
Testing
- Add missing process manager test ( #238 )
- Enhance web support (#225)
-
0.2.303 Oct 2023Release notes
Open source →Changes/Improvements
- AnsiOutlinedText: Set default border (#211)
Dependencies
- Bump tachyon from 0.0.9 to 0.1.0 (#213)
- Bump data_class_plugin from 1.0.5 to 1.1.0 (#214)
- Bump test from 1.24.6 to 1.24.7 (#215)
- Bump mocktail from 1.0.0 to 1.0.1 (#216)
Misc
- Decrease project line length to 80 (#217)
Release notes
Open source →Changes/Improvements
- AnsiOutlinedText: Set default border (#211)
Dependencies
- Bump tachyon from 0.0.9 to 0.1.0 (#213)
- Bump data_class_plugin from 1.0.5 to 1.1.0 (#214)
- Bump test from 1.24.6 to 1.24.7 (#215)
- Bump mocktail from 1.0.0 to 1.0.1 (#216)
Misc
- Decrease project line length to 80 (#217)
Release notes
Open source →Changes/Improvements
- AnsiOutlinedText: Set default border ( #211 )
Dependencies
-
Bump tachyon from 0.0.9 to 0.1.0 ( #213 )
-
Bump data_class_plugin from 1.0.5 to 1.1.0 ( #214 )
-
Bump test from 1.24.6 to 1.24.7 ( #215 )
-
Bump mocktail from 1.0.0 to 1.0.1 ( #216 )
Misc
- Decrease project line length to 80 ( #217 )
-
0.2.226 Sep 2023Release notes
Open source →Improvements & Fixes on AnsiTreeView
-
Fix tree alignment ( #206 )
-
Increase the prefix of the last node if it's a List ( #208 )
-
-
0.2.125 Sep 2023Release notes
Open source →Changes/Improvements
-
Enable web platform support (#196)
- Conditional import between
dart:ioanddart:htmldepending on the platform - Create separate implementations for io-dependant functions
- Conditional import between
Dependencies
Release notes
Open source →Changes/Improvements
-
Enable web platform support (#196)
- Conditional import between
dart:ioanddart:htmldepending on the platform - Create separate implementations for io-dependant functions
- Conditional import between
Dependencies
Release notes
Open source →Changes/Improvements
Enable web platform support ( #196 )
-
Conditional import between dart:io and dart:html depending on the platform
-
Create separate implementations for io-dependant functions
Dependencies
-
Bump data_class_plugin from 1.0.4 to 1.0.5 ( #198 )
-
Bump nikosportolos/dart_package from 0.1.1 to 0.1.2 ( #201 )
-
Bump checkout from 3.6.0 to 4.1.0 ( #203 )
-
-
0.2.023 Sep 2023Release notes
Open source →BREAKING CHANGES
Refactor AnsiTable to AnsiGrid
AnsiTable gets deprecated and replaced with AnsiGrid which supports text-wrapping and multiple lines of text in each grid cell.
Changes/Improvements
- AnsiTable: Wrap line if AnsiText.fixedWidth is set (#3)
- AnsiTable: Support multiline cells (#138)
- Refactor AnsiTreeView (#171)
- Create 'AnsiWidget' interface (#173)
- Refactor AnsiOutlinedText (#176)
- AnsiGridTheme: Remove ' fixedCellWidth' (#185)
- Set AnsiBorderType.all as default border type (#187)
- Create 'writeTabs' string buffer extension (#191)
Bug fixes
- AnsiGrid: Wrong cell width when keepSameWidth is true with center alignment (#178)
- Fix AnsiGrid
issues (#180)
- Fix wrong calculation for AnsiText content with horizontal padding and center alignment
- Fix border color
- Fix background color with vertical padding
- AnsiTreeView: Fix header issues (#189)
Documentation
- Update badges on README.md (#181)
- Update topics and screenshots for pub.dev
- Update screenshots (#194)
- Update outdated examples & tests
Dependencies
Release notes
Open source →BREAKING CHANGES
Refactor AnsiTable to AnsiGrid
AnsiTable gets deprecated and replaced with AnsiGrid which supports text-wrapping and multiple lines of text in each grid cell.
Changes/Improvements
-
AnsiTable: Wrap line if AnsiText.fixedWidth is set ( #3 )
-
AnsiTable: Support multiline cells ( #138 )
-
Refactor AnsiTreeView ( #171 )
-
Create 'AnsiWidget' interface ( #173 )
-
Refactor AnsiOutlinedText ( #176 )
-
AnsiGridTheme: Remove ' fixedCellWidth' ( #185 )
-
Set AnsiBorderType.all as default border type ( #187 )
-
Create 'writeTabs' string buffer extension ( #191 )
Bug fixes
-
AnsiGrid: Wrong cell width when keepSameWidth is true with center alignment ( #178 )
-
Fix AnsiGrid issues ( #180 )
-
Fix wrong calculation for AnsiText content with horizontal padding and center alignment
-
Fix border color
-
Fix background color with vertical padding
-
AnsiTreeView: Fix header issues ( #189 )
Documentation
-
Update badges on README.md ( #181 )
-
Update topics and screenshots for pub.dev
-
Update screenshots ( #194 )
-
Update outdated examples & tests
Dependencies
-
Bump ansix from 0.0.9-prerelease to 0.1.0 in /tool/export_docs ( #168 )
-
Bump tachyon from 0.0.8 to 0.0.9 ( #169 )
-
Bump meta from 1.9.1 to 1.10.0 ( #170 )
-
0.1.028 Aug 2023Release notes
Open source →Dependencies
- Bump data_class_plugin from 1.0.2 to 1.0.3 (#148)
- Bump collection from 1.17.2 to 1.18.0 (#149)
- Bump nikosportolos/dart_package from 0.0.6 to 0.1.0 (#150)
- Bump mocktail from 0.3.0 to 1.0.0 (#152)
- Bump test from 1.24.4 to 1.24.6 (#154)
- Bump test from 1.24.4 to 1.24.6 in /tool/export_docs (#155)
- Bump tachyon from 0.0.7 to 0.0.8 (#156)
- Bump data_class_plugin from 1.0.3 to 1.0.4 (#157)
- Bump min dart SDK to 3.1.0 (#158)
- Bump 'dart-package' action to 0.1.1 (#160)
Documentation
- Update README.md (#162)
Changes/Improvements
- Modify header theme of AnsiTreeView (#164)
Release notes
Open source →Dependencies
-
Bump data_class_plugin from 1.0.2 to 1.0.3 ( #148 )
-
Bump collection from 1.17.2 to 1.18.0 ( #149 )
-
Bump nikosportolos/dart_package from 0.0.6 to 0.1.0 ( #150 )
-
Bump mocktail from 0.3.0 to 1.0.0 ( #152 )
-
Bump test from 1.24.4 to 1.24.6 ( #154 )
-
Bump test from 1.24.4 to 1.24.6 in /tool/export_docs ( #155 )
-
Bump tachyon from 0.0.7 to 0.0.8 ( #156 )
-
Bump data_class_plugin from 1.0.3 to 1.0.4 ( #157 )
-
Bump min dart SDK to 3.1.0 ( #158 )
-
Bump 'dart-package' action to 0.1.1 ( #160 )
Documentation
- Update README.md ( #162 )
Changes/Improvements
- Modify header theme of AnsiTreeView ( #164 )
-
0.0.9-prerelease13 Jul 2023 pre-releaseRelease notes
Open source →Changes/Improvements
- AnsiTable: Set headerTextStyle & footerTextStyle as optional (#134)
- Refactor AnsiX class library (#136)
Dependencies
Release notes
Open source →Changes/Improvements
-
AnsiTable: Set headerTextStyle & footerTextStyle as optional ( #134 )
-
Refactor AnsiX class library ( #136 )
Dependencies
-
Bump tachyon to 0.0.7 ( #142 )
-
Bump test to 1.24.4 ( #143 )
-
0.0.8-prerelease14 Jun 2023 pre-releaseRelease notes
Open source →Dependencies
- Bump data_class_plugin from 1.0.1 to 1.0.2 (#122)
Documentation
- Add screenshots & topics in pubspec.yaml (#126)
AnsiTable
Release notes
Open source →Dependencies
- Bump data_class_plugin from 1.0.1 to 1.0.2 ( #122 )
Documentation
- Add screenshots & topics in pubspec.yaml ( #126 )
AnsiTable
Fix transparency ( #128 )
-
Add the ANSI reset escape code in every line if the transparent flag is set to true.
Add default AnsiTextTheme for cell values ( #130 )
- Provide different AnsiTextTheme for headers, footers and all other cells.
-
0.0.7-prerelease06 Jun 2023 pre-releaseRelease notes
Open source →- Refactor extensions (#67)
- Migrate to Tachyon (#71)
- Enable Dart 3 (#88)
- Bump minimum Dart SDK to 3.0.0
- Bump lints to 2.1.1
- AnsiTreeView: Add support for records
- Update GitHub workflows
- AnsiTreeView: Add alignment for tree node value (#105)
- Create new Widget **AnsiOutlinedText ** (#106)
- AnsiOutlinedText: Add text wrap options (#115)
- AnsiTreeView: Add wrap options (#117)
Release notes
Open source →-
Refactor extensions ( #67 )
-
Migrate to Tachyon ( #71 )
-
Enable Dart 3 ( #88 )
-
Bump minimum Dart SDK to 3.0.0
-
Bump lints to 2.1.1
-
AnsiTreeView: Add support for records
-
Update GitHub workflows
-
AnsiTreeView : Add alignment for tree node value ( #105 )
-
Create new Widget **AnsiOutlinedText ** ( #106 )
-
AnsiOutlinedText : Add text wrap options ( #115 )
-
AnsiTreeView : Add wrap options ( #117 )
-
0.0.6-prerelease03 Jun 2023 pre-releaseRelease notes
Open source →Bug fixes
- AnsiTable uses external color if no border color is set (#93)
- Wrapped lines in AnsiTreeView lose their styling (#98)
Misc
Release notes
Open source →Bug fixes
-
AnsiTable uses external color if no border color is set ( #93 )
-
Wrapped lines in AnsiTreeView lose their styling ( #98 )
Misc
-
Add missing tests ( #94 )
-
Add more documentation on public API elements ( #97 )
-
Update examples & README.md ( #102 )
-
0.0.5-prerelease02 Jun 2023 pre-releaseRelease notes
Open source →AnsiTreeView enhancements & bug fixes
- Refactor
AnsiTreeViewTheme (#75)
- Rename
TreeAnchorThemetoAnsiTreeAnchorTheme - Rename
TreeClassThemetoAnsiTreeClassTheme - Rename
TreeNodeThemetoAnsiTreeNodeTheme - Replace AnsiTreeAnchorTheme's
BoxDrawingSetproperty withAnsiBorderStyle
- Rename
- AnsiTreeView - fix border & anchor issues (#77)
- Add copyWith on AnsiTreeViewTheme (#79)
- AnsiTreeView - fix class header border replacement (#83)
- Update AnsiTreeView examples on README.md (#85)
- AnsiTreeView: Handle new lines & long text (#90)
Misc
Release notes
Open source →AnsiTreeView enhancements & bug fixes
-
Refactor AnsiTreeViewTheme ( #75 )
-
Rename TreeAnchorTheme to AnsiTreeAnchorTheme
-
Rename TreeClassTheme to AnsiTreeClassTheme
-
Rename TreeNodeTheme to AnsiTreeNodeTheme
-
Replace AnsiTreeAnchorTheme's BoxDrawingSet property with AnsiBorderStyle
-
AnsiTreeView - fix border & anchor issues ( #77 )
-
Add copyWith on AnsiTreeViewTheme ( #79 )
-
AnsiTreeView - fix class header border replacement ( #83 )
-
Update AnsiTreeView examples on README.md ( #85 )
-
AnsiTreeView: Handle new lines & long text ( #90 )
Misc
-
Export drawing enums ( #72 )
-
AnsiBorder - Set 'none' as default type and 'square' as default style ( #81 )
-
Detect terminal size ( #87 )
- Refactor
AnsiTreeViewTheme (#75)
-
0.0.4-prerelease31 May 2023 pre-releaseRelease notes
Open source →New features
Bug fixes
Misc
- AnsiTable - Set default AnsiBorderType to all (#68)
- Update CONTRIBUTING.md
Release notes
Open source →New features
Introduced a new widget, AnsiTreeView ( #58 , #63 )
Read more here
Bug fixes
-
Fix AnsiTable with only one cell ( #59 )
-
Export class AnsiTableRow ( #62 )
Misc
-
AnsiTable - Set default AnsiBorderType to all ( #68 )
-
Update CONTRIBUTING.md
-
0.0.3-prerelease25 May 2023 pre-releaseRelease notes
Open source →Bug fixes
- AnsiTable: Fix cell width calculation for styled/colored text (#50)
Dependencies
- Bump test from 1.24.2 to 1.24.3 (#46)
Release notes
Open source →Bug fixes
- AnsiTable: Fix cell width calculation for styled/colored text ( #50 )
Dependencies
- Bump test from 1.24.2 to 1.24.3 ( #46 )
-
0.0.2-prerelease18 May 2023 pre-releaseRelease notes
Open source →AnsiX
Extensions
- Refactor coloredRgb extension (#35)
Widgets
- Support AnsiText headers in AnsiTable.fromMap (#14)
- Add a space separator between columns in tables with no inside vertical border (#16)
- Refactor AnsiText properties (#24)
- Remove markdown border style (#32)
Documentation
Testing
- Add missing tests (#39)
Release notes
Open source →AnsiX
-
ensureSupportsAnsi throws exception on Mac/VSCode ( #12 )
-
Export missing classes ( #13 , #20 )
Extensions
- Refactor coloredRgb extension ( #35 )
Widgets
-
Support AnsiText headers in AnsiTable.fromMap ( #14 )
-
Add a space separator between columns in tables with no inside vertical border ( #16 )
-
Refactor AnsiText properties ( #24 )
-
Remove markdown border style ( #32 )
Documentation
-
Update README.md ( #15 , #17 )
-
Add badges in CONTRIBUTING.md ( #28 )
-
Add FAQ.md ( #37 )
Testing
- Add missing tests ( #39 )
-
0.0.1-prerelease16 May 2023 pre-release