isDesktop top-level property
Implementation
final isDesktop =
defaultTargetPlatform == TargetPlatform.linux
|| defaultTargetPlatform == TargetPlatform.macOS
|| defaultTargetPlatform == TargetPlatform.windows;
final isDesktop =
defaultTargetPlatform == TargetPlatform.linux
|| defaultTargetPlatform == TargetPlatform.macOS
|| defaultTargetPlatform == TargetPlatform.windows;