Skip to main content

syncfusion_easy_reports 0.0.1 copy "syncfusion_easy_reports: ^0.0.1" to clipboard
syncfusion_easy_reports: ^0.0.1 copied to clipboard

Flutter package to generate reports in PDF and Excel formats using Syncfusion Flutter widgets.

syncfusion_easy_reports #

Lightweight wrapper utilities and example code for generating professional Excel and PDF reports in Flutter using Syncfusion libraries. This package provides opinionated helpers to build tabular reports, multi-sheet payrolls, and detailed payslips, plus an example app demonstrating interactive report generation and export.

Key features

  • Generate Excel workbooks with multiple sheets, group headers, totals, and per-sheet configuration (ReportData, ReportSection, ReportTable).
  • Export detailed payroll ledgers and categorized deduction sheets (example includes an "ABC Bank - Loan Deductions" sheet).
  • Produce branded PDF payslips and multi-page reports with headers, footers, and signature placeholders.
  • Example app with an "Interactive" builder for live JSON previews and export buttons for Excel/PDF.
  • macOS-safe file saving fallback (uses FilePicker.saveFile when available, otherwise writes to Downloads and reveals the file).

Getting started #

Prerequisites:

  • Flutter SDK (stable) and required platform toolchains

Install dependencies and run the example:

flutter pub get
flutter analyze
flutter test
cd example
flutter run -d macos   # or -d chrome / -d windows / -d linux

Usage #

This package exposes a simple API surface for building reports. Example construction using the ReportData model:

final table = ReportTable(
  headers: ['Employee ID','Name','Net Pay'],
  rows: [[ 'EMP001','John Doe', 1234.56 ]],
  currencyColumnIndices: [2],
  currencySymbol: 'USD',
);

final section = ReportSection(title: 'Payroll', table: table);

final report = ReportData(title: 'Payroll Report', sections: [section]);

await ExcelReportGenerator().generateAndDownload(report, 'payroll_report');

See the example/ app for richer flows (interactive template builder, advanced payroll export, and payslip PDF sample).

Contributing #

Please open issues or pull requests. Run static checks before committing:

flutter pub get
flutter analyze
dart format --set-exit-if-changed .
flutter test

License #

See the LICENSE file in the repository root.

1
likes
0
points
618
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to generate reports in PDF and Excel formats using Syncfusion Flutter widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

excel_plus, file_picker, flutter, http, intl, logging, path_provider, permission_handler, share_plus, syncfusion_flutter_pdf, syncfusion_flutter_xlsio, web

More

Packages that depend on syncfusion_easy_reports