WindowStyleMask class
Class that represents the flags that describe the browser window’s current style, such as if it’s resizable or in full-screen mode.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNativeValue(
) → int? - Gets int? native value.
-
toString(
) → String -
A string representation of this object.
override
-
toValue(
) → int - Gets int value.
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
-
operator |(
WindowStyleMask value) → WindowStyleMask
Static Properties
- BORDERLESS → WindowStyleMask
-
The window displays none of the usual peripheral elements. Useful only for display or caching purposes.
final
- CLOSABLE → WindowStyleMask
-
The window displays a close button.
final
- DOC_MODAL_WINDOW → WindowStyleMask
-
The window is a document-modal panel.
final
- FULL_SIZE_CONTENT_VIEW → WindowStyleMask
-
When set, the window’s contentView consumes the full size of the window.
Although you can combine this constant with other window style masks, it is respected only for windows with a title bar.
Note that using this mask opts in to layer-backing.
final
- FULLSCREEN → WindowStyleMask
-
The window can appear full screen. A fullscreen window does not draw its title bar, and may have special handling for its toolbar.
final
- HUD_WINDOW → WindowStyleMask
-
The window is a HUD panel.
final
- MINIATURIZABLE → WindowStyleMask
-
The window displays a minimize button.
final
- NONACTIVATING_PANEL → WindowStyleMask
-
The window is a panel that does not activate the owning app.
final
- RESIZABLE → WindowStyleMask
-
The window can be resized by the user.
final
- TITLED → WindowStyleMask
-
The window displays a title bar.
final
- UTILITY_WINDOW → WindowStyleMask
-
The window is a panel.
final
-
values
→ Set<
WindowStyleMask> -
Set of all values of WindowStyleMask.
final
Static Methods
-
fromNativeValue(
int? value) → WindowStyleMask? - Gets a possible WindowStyleMask instance from a native value.
-
fromValue(
int? value) → WindowStyleMask? - Gets a possible WindowStyleMask instance from int value.