96f8f95924
- Created runner.exe.manifest to enable DPI awareness and dark mode support. - Implemented utility functions in utils.cpp and utils.h for console creation and command line argument handling. - Developed Win32Window class in win32_window.cpp and win32_window.h to manage high DPI-aware windows, including theme updates and message handling.
13 lines
286 B
Dart
13 lines
286 B
Dart
import 'dart:io' show Platform;
|
|
|
|
bool get isAndroid => Platform.isAndroid;
|
|
|
|
bool get isIOS => Platform.isIOS;
|
|
|
|
bool get isLinux => Platform.isLinux;
|
|
|
|
bool get isMacOS => Platform.isMacOS;
|
|
|
|
bool get isWindows => Platform.isWindows;
|
|
|
|
bool get isDesktop => isLinux || isMacOS || isWindows; |