Measure constructor
Measure({
- bool autoBeaming = true,
- BeamingMode beamingMode = BeamingMode.automatic,
- List<
List< manualBeamGroups = const [],int> > - TimeSignature? inheritedTimeSignature,
- int? number,
Creates a new Measure.
autoBeaming defaults to true so that eighth notes and smaller are
automatically grouped with beams. Set to false to use individual flags.
beamingMode controls the beaming strategy; normally BeamingMode.automatic.
manualBeamGroups is a list of index groups for explicit beam control.
Example: [[0, 1, 2], [3, 4]] groups the first three notes and the
next two notes into separate beams.
inheritedTimeSignature opts a bar that declares no TimeSignature of
its own into capacity checking in add. Nothing in the package writes it
for you — see the field's own documentation for why that changed.
Implementation
Measure({
this.autoBeaming = true,
this.beamingMode = BeamingMode.automatic,
this.manualBeamGroups = const [],
this.inheritedTimeSignature,
this.number,
});