isDesktop property

bool isDesktop

Implementation

bool get isDesktop {
  return MediaQuery.of(this).size.width >= 1024.0;
}