CreateData class

Constructors

CreateData({Object? url, int? tabId, int? left, int? top, int? width, int? height, bool? focused, bool? incognito, CreateType? type, WindowState? state, bool? setSelfAsOpener})
CreateData.fromJS(CreateData _wrapped)

Properties

focused bool?
If true, opens an active window. If false, opens an inactive window.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
The height in pixels of the new window, including the frame. If not specified, defaults to a natural height.
getter/setter pair
incognito bool?
Whether the new window should be an incognito window.
getter/setter pair
left int?
The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setSelfAsOpener bool?
If true, the newly-created window's 'window.opener' is set to the caller and is in the same unit of related browsing contexts as the caller.
getter/setter pair
state WindowState?
The initial state of the window. The minimized, maximized, and fullscreen states cannot be combined with left, top, width, or height.
getter/setter pair
tabId int?
The ID of the tab to add to the new window.
getter/setter pair
toJS → CreateData
no setter
top int?
The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels.
getter/setter pair
type CreateType?
Specifies what type of browser window to create.
getter/setter pair
url Object?
A URL or array of URLs to open as tabs in the window. Fully-qualified URLs must include a scheme, e.g., 'http://www.google.com', not 'www.google.com'. Non-fully-qualified URLs are considered relative within the extension. Defaults to the New Tab Page.
getter/setter pair
width int?
The width in pixels of the new window, including the frame. If not specified, defaults to a natural width.
getter/setter pair

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