FLUTTER ECOSYSTEM

csv

A high-quality CSV library. Encode and decode CSV strings, with stream support (one row per event), auto-detection, and Excel compatibility. The string must be comma (configurable) separated values.

Latest version
8.0.0
30-day downloads
646.9K
Likes
402
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A high-quality CSV library for Dart and Flutter that enables efficient encoding and decoding of CSV strings with support for streaming (one row at a time), auto-detection of delimiters, and compatibility with Excel formats. It handles comma-separated values (with configurable separators) and is suitable for reading and writing structured data in various platforms. Ideal for data import/export workflows.

Use cases
  • Parsing large CSV files efficiently
  • Exporting app data to CSV
  • Reading configuration or user data from CSV
  • Integrating with Excel-compatible datasets
  • Processing real-time CSV streams
Key features
  • Stream-based row-by-row processing
  • Configurable delimiter support
  • Auto-detection of field separators
  • Excel format compatibility
  • Robust error handling
Suitable for
  • Data-heavy applications
  • Mobile and web apps needing CSV I/O
  • Backend services processing CSV input
  • Tools requiring lightweight CSV parsing
Considerations
  • Requires careful handling of malformed CSV
  • Limited to CSV-specific use cases
  • Not designed for complex spreadsheet formats like ODS
  • Performance depends on stream size and complexity
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add csv

Categories

Source repository

Related projects