allStaves property

List<Staff> get allStaves

Get all staves in the score (flattened from all groups)

Implementation

List<Staff> get allStaves {
  return staffGroups.expand((group) => group.staves).toList();
}