Overview
Dolumns is a Dart library designed to format text output into aligned columns, making it ideal for displaying tabular data in terminal environments. It provides simple and efficient tools to structure text with consistent spacing and alignment, enhancing readability of console-based applications. The library is lightweight and platform-agnostic, supporting all major Flutter platforms including Android, iOS, Web, macOS, Windows, and Linux. It's particularly useful for CLI tools, debug outputs, or any application requiring clean textual layouts without external dependencies.
Use cases
- Displaying command-line tables
- Formatting debug logs
- Creating terminal dashboards
- Generating reports in CLI apps
- Presenting structured data in console
Key features
- Easy column alignment
- Flexible padding and spacing
- Cross-platform compatibility
- Minimal API surface
- Supports custom separators
- No external dependencies
Suitable for
- CLI tool developers
- Console-based applications
- Debugging utilities
- Data visualization in terminals
- Educational or learning tools
Considerations
- Not suitable for GUI table rendering
- Limited styling options
- Best for monospaced fonts
- Does not support advanced formatting like colors
- Primarily intended for simple text layout
- Requires manual handling of line wrapping