isDesktop static method

bool isDesktop()

判断是否是桌面尺寸(宽度大于等于1200dp)

Implementation

static bool isDesktop() {
  return Get.width >= 1200;
}