Calculate grid cell width based on minimum cell size
double gridCellWidth(double minCellWidth) { final count = (screenWidth / minCellWidth).floor().clamp(1, 10); return screenWidth / count; }