ExpandableTable constructor
const
ExpandableTable({
- Key? key,
- ExpandableTableCell? firstHeaderCell,
- List<
ExpandableTableHeader> ? headers, - List<
ExpandableTableRow> ? rows, - ExpandableTableController? controller,
- double headerHeight = 188,
- double firstColumnWidth = 200,
- double defaultsColumnWidth = 120,
- double defaultsRowHeight = 50,
- Duration duration = const Duration(milliseconds: 500),
- Curve curve = Curves.fastOutSlowIn,
- Duration scrollShadowDuration = const Duration(milliseconds: 500),
- Curve scrollShadowCurve = Curves.fastOutSlowIn,
- Color scrollShadowColor = Colors.transparent,
- double scrollShadowSize = 10,
- bool visibleScrollbar = false,
ExpandableTable class constructor. Required:
return ExpandableTable(
firstHeaderCell: ExpandableTableCell(
child: Text('Simple\nTable'),
),
headers: headers,
rows: rows,
);
Implementation
const ExpandableTable({
Key? key,
this.firstHeaderCell,
this.headers,
this.rows,
this.controller,
this.headerHeight = 188,
this.firstColumnWidth = 200,
this.defaultsColumnWidth = 120,
this.defaultsRowHeight = 50,
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.scrollShadowSize = 10,
this.visibleScrollbar = false,
}) : assert((firstHeaderCell != null && rows != null && headers != null) ||
controller != null),
super(key: key);