fassad_ui 0.2.0 copy "fassad_ui: ^0.2.0" to clipboard
fassad_ui: ^0.2.0 copied to clipboard

Flutter widgets and HTTP client for querying dblm fassad templates — render database results as charts and tables.

0.2.0 #

  • Responsive chartsFassadChart now uses LayoutBuilder to adapt to its container width. height is optional; when omitted the chart auto-sizes to 55 % of available width (clamped 200–420 px). Bar width scales with the number of bars so charts never overflow on narrow screens.
  • Theme-aware colours — all chart colours (bars, lines, grid, axis labels, pie sections) are derived from Theme.of(context).colorScheme, so both light and dark mode work automatically without any configuration.
  • Offline / local caching — new FassadCache class persists FassadResult data to SharedPreferences. New FassadClient.runWithCache() stream method implements stale-while-revalidate: emits cached data instantly, then emits fresh data once the network responds, and falls back to cache silently when offline.
  • Added shared_preferences: ^2.2.0 dependency.

0.1.1 #

  • Improved README with architecture diagram, full widget example, and complete API reference

0.1.0 #

  • Initial release
  • FassadClient — HTTP client for the @dblm/middleware REST API
  • FassadChart — bar, line, and pie chart widget powered by fl_chart
  • FassadTable — scrollable data table widget
  • ColumnMapper — utility for mapping fassad row results to chart data
0
likes
140
points
64
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter widgets and HTTP client for querying dblm fassad templates — render database results as charts and tables.

Repository (GitHub)

License

MIT (license)

Dependencies

fl_chart, flutter, http, shared_preferences

More

Packages that depend on fassad_ui