isGridLayout static method

bool isGridLayout(
  1. double width
)

Determines if the current width should use a grid layout.

Implementation

static bool isGridLayout(double width) {
  return width >= mobile;
}