isListLayout static method

bool isListLayout(
  1. double width
)

Determines if the current width should use a list layout (single column).

Implementation

static bool isListLayout(double width) {
  return width < mobile;
}