WindowType enum

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

Inheritance
Available extensions

Values

normal → const WindowType

A normal browser window.

const WindowType('normal')

A browser popup.

const WindowType('popup')
panel → const WindowType

Deprecated in this API. A Chrome App panel-style window. Extensions can only see their own panel windows.

const WindowType('panel')
app → const WindowType

Deprecated in this API. A Chrome App window. Extensions can only see their app own windows.

const WindowType('app')
devtools → const WindowType

A Developer Tools window.

const WindowType('devtools')

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) WindowType

Constants

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