PlutoRowGroupOnToggled typedef

PlutoRowGroupOnToggled = void Function({required bool expanded, required PlutoRow row})

A callback that is called when a group row is expanded or collapsed.

For row, row.type is a group. You can access the parent row with row.parent. You can access child rows with row.group.children.

If expanded is true, the group row is expanded, if false, it is collapsed.

Implementation

typedef PlutoRowGroupOnToggled = void Function({
  required PlutoRow row,
  required bool expanded,
});