DVWindowingDeclaration class
What a project declared under dartvel.windowing.
Three settings the specification documents and the build read none of:
web.inPageViews, web.openInNewWindow and android.freeform. A project
that wrote openInNewWindow: false still reported multiWindow on web,
still offered the control, and still opened a browser window when somebody
pressed it.
Null means the project said nothing, which is the platform's own answer. Not false: a default of false would withdraw windowing from every application that never wrote the block.
A declaration narrows and never widens. It is permission to do less, so a phone cannot be given a second window by writing one down -- a capability that lied in that direction would be worse than one that ignored the setting, because a caller would offer a control and the call behind it would degrade.
Constructors
- DVWindowingDeclaration({bool? enabled, bool? webInPageViews, bool? webOpenInNewWindow, bool? androidFreeform})
-
const
Properties
- androidFreeform → bool?
-
dartvel.windowing.android.freeform, whereautois null.final - enabled → bool?
-
dartvel.windowing.enabled. False withdraws windows from every target, andopen()says so (DV-WINDOW-005) rather than reporting the target as incapable -- the project turned them off, which is a different thing to act on from a phone that never had them.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webInPageViews → bool?
-
dartvel.windowing.web.inPageViews.final - webOpenInNewWindow → bool?
-
dartvel.windowing.web.openInNewWindow.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