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) {
  _componentBounds = componentBounds;

  super.layout(componentBounds, drawAreaBounds);
}