getTotalTabBarSize method

Size getTotalTabBarSize(
  1. List<Size>? sizeList
)

Implementation

Size getTotalTabBarSize(List<Size>? sizeList) {
  double width = 0;
  double height = 0;

  sizeList?.forEach((item) {
    width += item.width;
    height += item.height;
  });

  return Size(width, height);
}