isDesktop static method

bool isDesktop(
  1. BuildContext context
)

Returns true if the screen width is greater than or equal to 1100

Implementation

static bool isDesktop(BuildContext context) =>
    MediaQuery.of(context).size.width >= (1100);