isWindows property
bool
get
isWindows
Indicates if the app is running on a Windows platform.
Implementation
static bool get isWindows => defaultTargetPlatform == TargetPlatform.windows;
Indicates if the app is running on a Windows platform.
static bool get isWindows => defaultTargetPlatform == TargetPlatform.windows;