layout method

  1. @override
void layout(
  1. Rectangle<int> componentBounds,
  2. Rectangle<int> drawAreaBounds
)

Layout this component.

Implementation

@override
void layout(Rectangle<int> componentBounds, Rectangle<int> drawAreaBounds) {
  super.layout(componentBounds, drawAreaBounds);

  if (config.includePoints) {
    _pointRenderer.layout(componentBounds, drawAreaBounds);
  }
}