isDesktop property

  1. @override
bool isDesktop
override

Returns if the platform is desktop.

Implementation

@override
bool get isDesktop {
  return Platform.isMacOS || Platform.isWindows || Platform.isLinux;
}