isDesktop method

bool isDesktop()

Implementation

bool isDesktop() {
  return ((Platform.isWindows || Platform.isLinux || Platform.isMacOS) &&
      !(kIsWeb));
}