layout method
Implements Container.layout
for data area.
Uses all available space in the passed parentLayoutExpansion
,
which it divides between it's children.
First lays out the Grid, then, based on the available size, scales the columns to the YContainer's scale.
Implementation
@override
void layout(LayoutExpansion parentLayoutExpansion) {
layoutSize = ui.Size(parentLayoutExpansion.width, parentLayoutExpansion.height);
_layoutGrid();
// Scale the [pointsColumns] to the [YContainer]'s scale.
scalePointsColumns();
}