isDesktop property

bool get isDesktop

Implementation

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