reporter 0.3.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

A package that helps prepare tabular reports.

Reporter

Pub Version GitHub last commit on main

A standard for generating reports in pure dart.

Note: Currently only supports tabular reports.

Example

Check the dedicated example project

Features

  • Build tabular reports.
  • Handles column nesting (colspan).
  • Handles row nesting (rowspan).
  • Fully customizable.
  • Unopinionated.
  • Format independent, can be adapted for Excel, Html, Pdf, Markdown, txt, etc ...
  • Surprisingly easy to use.

Getting started

  1. Depend on the reporter package dart pub add reporter
  2. Use TabularReporter.calculateHeaderCells to calculate the header cells from columns.
  3. Use TabularReporter.calculateCells to calculate the body cells from rows and columns.
  4. Optionally depend on other specific generators

Preview

Clientpayments
reasontotal to payinstances
dateamount
person1project15000.02023-08-01 00:00:00.0002000.0
2023-08-15 00:00:00.0001500.0
2023-08-30 00:00:00.0001500.0
project21000.0
project34000.02023-09-01 00:00:00.0001000.0
2023-09-15 00:00:00.0002000.0
person2project40.0