WindowState enum

The state of this browser window. In some circumstances a window may not be assigned a state property; for example, when querying closed windows from the sessions API.

Inheritance
Available extensions

Values

normal → const WindowState

Normal window state (not minimized, maximized, or fullscreen).

const WindowState('normal')
minimized → const WindowState

Minimized window state.

const WindowState('minimized')
maximized → const WindowState

Maximized window state.

const WindowState('maximized')
fullscreen → const WindowState

Fullscreen window state.

const WindowState('fullscreen')
lockedFullscreen → const WindowState

Locked fullscreen window state. This fullscreen state cannot be exited by user action and is available only to allowlisted extensions on Chrome OS.

const WindowState('locked-fullscreen')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS String
no setter
value String
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

fromJS(String value) WindowState

Constants

values → const List<WindowState>
A constant List of the values in this enum, in order of their declaration.