setSize method
Set size of area items are needed to place in
Implementation
@override
void setSize({required double width, required double height}) {
  assert(width > 0, 'width has to be more then zero');
  assert(height > 0, 'height has to be more then zero');
  switch (layoutDirection) {
    case LayoutDirection.horizontal:
      _length = width;
      _tallness = height;
      break;
    case LayoutDirection.vertical:
      _length = height;
      _tallness = width;
      break;
  }
}