isHeadset property

bool get isHeadset

Whether this build is for a headset. A panel is an ordinary window, so this is for what to offer -- larger targets, a back button where hands have no back gesture -- never for whether a page works. DV.Platform.window.capability.spatial stays null until a registered DVWindowSpaceBackend reports what the headset can present.

Implementation

bool get isHeadset =>
    _deviceTypeOverride == 'headset' || dvIsHeadsetPlatform(currentPlatform);