reporter 0.1.0
reporter: ^0.1.0 copied to clipboard
A package that helps prepare tabular reports.
Reporter #
A standard for generating reports in pure dart.
Note: Currently only supports tabular reports.
Features #
- Build tabular reports with ease.
- Handles column nesting (colspan).
- Handles row nesting (rowspan).
- Full customizable.
- Language independent, can be adapted for Excel, Html, Pdf, Markdown, txt, etc ...
- Surprisingly easy to use.
Getting started #
- Depend on the
reporterpackagedart pub add reporter - Optionally depend on other specific generators like
reporter_html,reporter_syncfusion_flutter_xlsio, etc... - Use
TabularReporter.calculateCellsto calculate the cells from rows and columns
Example #
Checkout the example to see how to generate this table:
| Client | Payments | |||
|---|---|---|---|---|
| Reason | Total To Pay | Instances | ||
| Date | Amount | |||
| Person1 | Project1 | 5000 | 01-08-2023 | 2000 |
| 15-08-2023 | 1500 | |||
| 30-08-2023 | 1500 | |||
| Project2 | 1000 | |||
| Project3 | 4000 | 01-08-2023 | 1000 | |
| 15-08-2023 | 2000 | |||
| Person2 | Project4 | 0 | ||