flutter_expandable_table 1.0.0
flutter_expandable_table: ^1.0.0 copied to clipboard

A Flutter widget for create an expandable table with header and first column fixed.

flutter_expandable_table

Expandable Table #

Pub Package Package Issue Package License

ExpandableTable is a widget for Flutter that create a Table with header and first column fixed. You can create a nested Rows/Columns grouped in expandable Row/Column

Image
ExpandableTable

Features #

  • Header and first column fixed
  • Supports vertical and horizontal scroll
  • Customizable animation Duration and Curve

 

Usage #

Make sure to check out the examples on GitHub.

Installation #

Add the following line to pubspec.yaml:

dependencies:
  flutter_expandable_table: <last-release>

Basic setup #

Complete example available here.

ExpandableTable(
      rows: rows,
      header: header,
      scrollShadowColor: accentColor,
    );

ExpandableTable Properties #

  • header: Contain a table header widget.
  • rows: Contain a table body rows widget.
  • cellWidth: determines default cell width size, this is overwritable with cell property.
  • cellHeight: determines default cell height size, this is overwritable with row property.
  • headerHeight: determines Header Row height size.
  • firstColumnWidth: determines first Column width size.
  • duration: determines duration rendered animation of Rows/Columns expansion.
  • curve: determines rendered curve animation of Rows/Columns expansion.
  • scrollShadowDuration: determines duration rendered animation of shadows.
  • scrollShadowCurve: determines rendered curve animation of shadows.
  • scrollShadowColor: determines rendered color of shadows.

 

15
likes
130
pub points
64%
popularity

Publisher

rcprogrammer.net

A Flutter widget for create an expandable table with header and first column fixed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_scroll_shadow, linked_scroll_controller

More

Packages that depend on flutter_expandable_table