FLUTTER ECOSYSTEM

toml_viewer

A Flutter widget for displaying TOML files as interactive, expandable tree views with syntax highlighting, partial-parse error reporting, light/dark theme support, custom styling, extensible builders, and full customisation.

toml_viewer cover
Latest version
2.0.0
30-day downloads
113
Likes
5
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter widget that renders TOML files as interactive, expandable tree views with syntax highlighting and error detection. It supports light and dark themes, customizable styling, and extensible builders for advanced use cases. The package enables partial parsing to highlight errors without full validation, making it ideal for real-time configuration previews. Designed for developers working with TOML configurations, it offers full customization and cross-platform compatibility across Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Real-time TOML configuration preview
  • Interactive debugging of TOML files
  • Developer tools with TOML input
  • Configuration file viewers in apps
  • Custom IDE-like TOML editors
Key features
  • Interactive expandable tree view
  • Syntax highlighting
  • Partial-parse error reporting
  • Light/dark theme support
  • Custom styling options
  • Extensible builders
Suitable for
  • Flutter developers working with TOML
  • Tools requiring TOML visualization
  • Configuration management interfaces
  • IDE extensions or plugins
  • Cross-platform desktop and mobile apps
Considerations
  • Requires valid TOML input for full rendering
  • Performance may vary with large files
  • Customization requires familiarity with Flutter widgets
  • Limited to TOML format only
  • May need additional logic for file loading
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add toml_viewer

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.