performLayout method
Implementation
@override
void performLayout(ChantContext ctxt) {
super.performLayout(ctxt);
final offset = ctxt.staffLineCount == 2 ? 1.5 : 2.0;
addVisualizer(
DividerLineVisualizer(
ctxt,
offset,
ctxt.staffLineCount * 2 - offset,
this,
),
);
origin = Point(bounds.width / 2, origin.y);
finishLayout(ctxt);
}