isWindows property

bool get isWindows

Checks if the application is running on the Windows platform.

Implementation

bool get isWindows => !isWeb && _isPlatform('windows');