isGroupExpanded method

bool isGroupExpanded(
  1. String groupKey
)

Returns true if the group identified by groupKey is expanded.

Groups default to collapsed until explicitly toggled, so grouping a column doesn't dump every row into view at once.

Implementation

bool isGroupExpanded(String groupKey) => expandedGroups[groupKey] ?? false;