WindowViewport class
Data class containing viewport information for a window.
WindowViewport provides contextual information about a window's current state within the window navigator. This data is made available to child widgets through the Data inheritance mechanism.
The viewport information includes:
- Size of the visible area
- Reference to the navigator managing the window
- Focus and display state flags
- Interaction state (pointer events, minimization)
This class is typically used internally by the window system to pass state information to window content and decoration widgets.
Constructors
Properties
- alwaysOnTop → bool
-
Whether this window is set to always appear on top.
final
- closed → bool
-
Whether this window has been closed.
final
- focused → bool
-
Whether this window currently has focus.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- ignorePointer → bool
-
Whether pointer events should be ignored for this window.
final
- minify → bool
-
Whether the window is being minimized (transitioning to minimized state).
final
-
Reference to the window navigator managing this window.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
The size of the window's visible area.
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.
override