FLUTTER ECOSYSTEM

toml

Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.

Latest version
0.18.0
30-day downloads
286K
Likes
35
Pub points
160

Package Overview

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

Overview

A Flutter/Dart package for parsing and encoding TOML (Tom's Obvious, Minimal Language) configuration files, compliant with TOML v1.0.0. It enables seamless reading and writing of structured configuration data in a human-readable format. Ideal for apps requiring external configuration management, such as environment settings or app preferences. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It is lightweight and integrates easily via pub.dev.

Use cases
  • Reading application configuration files
  • Writing config data in TOML format
  • Storing environment-specific settings
  • Migrating from JSON/YAML to TOML
  • Cross-platform configuration management
Key features
  • TOML v1.0.0 compliance
  • Support for nested tables and arrays
  • Easy-to-use parse and encode methods
  • Platform-agnostic implementation
  • Lightweight and fast
Suitable for
  • Apps needing structured config files
  • Developers preferring TOML over JSON/YAML
  • Cross-platform projects
  • Configuration-driven applications
  • CLI tools with config needs
Considerations
  • Not suitable for binary data storage
  • Limited to configuration use cases
  • Requires valid TOML syntax
  • No built-in validation beyond parsing
  • Best used with static or known schema configurations
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add toml

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects