FTouch extension

Utilities for retrieving information about the current platform.

on
  • Never

Static Properties

primary bool

Available on Never, provided by the FTouch extension

True if the current platform uses touch as the primary input.
getter/setter pair

Constants

platforms → const Set<TargetPlatform>
The platforms that use touch as the primary input. This isn't 100% accurate as there are hybrid devices that use both touch and keyboard/mouse input, i.e., Windows Surface laptops.