isMobile static method

bool isMobile(
  1. BuildContext context
)

Returns true if the device is considered mobile based on width

Implementation

static bool isMobile(BuildContext context) => width(context) < 600;