StaffGroup constructor
const
StaffGroup({})
Implementation
const StaffGroup({
required this.staves,
this.bracket = BracketType.none,
this.name,
this.abbreviation,
bool? connectBarlines,
this.customSpacing,
this.showNameOnAllSystems = false,
}) : assert(staves.length > 0, 'StaffGroup must contain at least one staff'),
connectBarlines = connectBarlines ?? (bracket != BracketType.none);