isDesktopPlatform property
bool
get
isDesktopPlatform
Implementation
bool get isDesktopPlatform {
final p = Theme.of(this).platform;
return p == TargetPlatform.macOS || p == TargetPlatform.windows || p == TargetPlatform.linux;
}