flutter_excel
1.0.1, released 4 years ago by an unverified publisher
Library for reading, creating, and editing Excel spreadsheet files.
WASM-ready
What it does
Allows reading, creating, editing, and updating XLSX files and sheets on both client and server side. Supports cell styling, merging, finding and replacing text, and sheet management operations like copying and renaming.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read existing Excel spreadsheets in Flutter or Dart.
- You need to generate and export XLSX files dynamically from your app.
Skip it when
- You are working with file formats other than XLSX (e.g., CSV or legacy XLS).
- You require complex formula evaluation or PDF conversion natively (not yet documented as supported).
Strengths
- Supports cross-platform file reading and saving including Flutter Web.
- Provides extensive cell styling capabilities (fonts, colors, alignment, borders).
- Allows programmatic sheet operations like merging, finding and replacing, and insertion.
Weaknesses
- Formulas and PDF conversion features are listed as future updates and not yet documented.
- Password protection requires an external separate package.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
var excel = Excel.createExcel();
Sheet sheetObject = excel['SheetName'];
sheetObject.cell(CellIndex.indexByString("A1")).value = 8;
var fileBytes = excel.save();Alternatives
Packages that do the same job and could replace flutter_excel.
- syncfusion_flutter_pdf
Native Dart library for creating, reading, editing, and securing PDF files.
89Compare
Works with
Packages commonly used together with flutter_excel: ones it builds on, ones built on it, and its own family.
- archiveflutter_excel depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- xmlflutter_excel depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- equatableflutter_excel depends on itProvides value‑based equality for Dart objects without manual == and hashCode.