Platform
The Platform namespace contains properties that help deal with platform specific differences.
Properties
Section titled “Properties” string default: ""
The name of the operating system. Possible values are:
Operating System | Value |
---|---|
Windows | windows |
macOS | macos |
Linux | linux |
Android | android |
iOS | ios |
If the operating system is none of the above, the value of this property is the empty string.
style-name
Section titled “style-name” string default: ""
The name of the currently selected widget style. Some widget
styles have dark and light variant suffixes, such as fluent-light
. This property contains the
style name without the suffix. Use Palette‘s color-scheme
to
determine the currently used scheme.
© 2025 SixtyFPS GmbH