flutter_expandable_table

Expandable Table

Pub Package likes popularity pub points

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.
  • visibleScrollbar: determines visibility of scrollbar.

📚 My other packages

Flutter

Package Verison Score Likes Test Coverage
Pub Package pub points likes
Pub Package pub points likes
Pub Package pub points likes
Pub Package pub points likes

Dart

Package Verison Score Likes Test Coverage
Pub Package pub points likes Test CI codecov
Pub Package pub points likes Test CI codecov

Libraries

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