Skip to content

dunghce/flutter_expandable_table

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 98.0%
  • Swift 1.4%
  • Other 0.6%