calcWidth method
Calc the width in pixels, for the screen and rotation config used actually in the device
Implementation
double calcWidth(Size size, Orientation orientation, int columnsCount) {
final width = orientation == Orientation.landscape || kIsWeb
? size.width
: size.height;
final colWidth = width / columnsCount;
// print("colWidth $colWidth");
return colWidth * columns[gridSize(size.width)]!;
}