renderExpansionContent property

Widget Function(ExpandableRow row)? renderExpansionContent
final

Renders a custom expansion content widget.

This gives the all row information with row parameter, and it expects a widget.

renderExpansionContent: (row) {
  return Text(row.cells[0].columnTitle);
}

Implementation

final Widget Function(
  ExpandableRow row,
)? renderExpansionContent;