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 is set automatically by LayoutEngine when no
TimeSignature is present in the measure but one was declared earlier.
Implementation
Measure({
this.autoBeaming = true,
this.beamingMode = BeamingMode.automatic,
this.manualBeamGroups = const [],
this.inheritedTimeSignature,
this.number,
});