DVWindowingCapability class

What a target can actually do with windows.

Read this to decide whether to offer an affordance. Never to decide whether to call DVWindowManager.open — that always presents the route, which is the whole point of a window being one.

Constructors

DVWindowingCapability({bool multiWindow = false, bool sameEngine = false, bool tearOut = false, bool inPageViews = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inPageViews bool
Web only: in-page multi-view embedding for panels and workspace regions.
final
multiWindow bool
Whether a second OS-level window can exist at all.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sameEngine bool
Whether windows share one engine, so content can be handed over as the same Dart object tree rather than through the shared store.
final
tearOut bool
Whether a tab can detach into a window by drag.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

detect({required bool isDesktop, required bool isWeb, required bool isAndroid, required bool isTablet, required bool isIOS, required bool hasNativeWindowBinding, bool kioskLocked = false, bool enabledByConfig = true}) DVWindowingCapability
The capability of the running target.