ExpandableTable constructor

ExpandableTable({
  1. Key? key,
  2. required ExpandableTableHeader header,
  3. required List<ExpandableTableRow> rows,
  4. double cellWidth = 120,
  5. double cellHeight = 50,
  6. double headerHeight = 188,
  7. double firstColumnWidth = 200,
  8. Duration duration = const Duration(milliseconds: 500),
  9. Curve curve = Curves.fastOutSlowIn,
  10. Duration scrollShadowDuration = const Duration(milliseconds: 500),
  11. Curve scrollShadowCurve = Curves.fastOutSlowIn,
  12. Color scrollShadowColor = Colors.transparent,
  13. bool visibleScrollbar = false,
})

ExpandableTable constructor. Required:

  • rows
  • header

Implementation

ExpandableTable({
  Key? key,
  required this.header,
  required this.rows,
  this.cellWidth = 120,
  this.cellHeight = 50,
  this.headerHeight = 188,
  this.firstColumnWidth = 200,
  this.duration = const Duration(milliseconds: 500),
  this.curve = Curves.fastOutSlowIn,
  this.scrollShadowDuration = const Duration(milliseconds: 500),
  this.scrollShadowCurve = Curves.fastOutSlowIn,
  this.scrollShadowColor = Colors.transparent,
  this.visibleScrollbar = false,
}) : super(key: key);