We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I using this to dynamic set window effect, but have no reasponse:
DeviceInfoPlugin deviceInfo = DeviceInfoPlugin(); void getWindowEffect() async { if (Platform.isWindows) { var sysProductName = await deviceInfo.windowsInfo; var pn = sysProductName.productName; print("--- windows information:::: ${pn}"); if (pn.contains("Windows 10")) { setState(() { this.effect = WindowEffect.disabled; }); print("effect set to: ${this.effect}"); } else { this.effect = WindowEffect.acrylic; } } else { this.effect = WindowEffect.acrylic; } }
Am using Windowefffect.acrylic as default, but this should change if on windows 10, since it has bug when mouse dragging on window.
How should I do properly? thanks
The text was updated successfully, but these errors were encountered:
Also, I got a white line above window, why? (no such thing on arcylic effect)
Sorry, something went wrong.
I haven't tried it out myself, but the os_detect package does provide a way to get the operating system version as a string. Maybe you could use that to check which version of Windows your app is running on.
Also, check out Platform.operatingSystemVersion from the dart:io library.
Platform.operatingSystemVersion
No branches or pull requests
Hello, I using this to dynamic set window effect, but have no reasponse:
Am using Windowefffect.acrylic as default, but this should change if on windows 10, since it has bug when mouse dragging on window.
How should I do properly? thanks
The text was updated successfully, but these errors were encountered: