SetIconDetails class

Constructors

SetIconDetails({Object? imageData, Object? path, int? tabId})
SetIconDetails.fromJS(SetIconDetails _wrapped)

Properties

hashCode int
The hash code for this object.
no setterinherited
imageData Object?
Either an ImageData object or a dictionary {size -> ImageData} representing an icon to be set. If the icon is specified as a dictionary, the image used is chosen depending on the screen's pixel density. If the number of image pixels that fit into one screen space unit equals scale, then an image with size scale * n is selected, where n is the size of the icon in the UI. At least one image must be specified. Note that 'details.imageData = foo' is equivalent to 'details.imageData = {'16': foo}'
getter/setter pair
path Object?
Either a relative image path or a dictionary {size -> relative image path} pointing to an icon to be set. If the icon is specified as a dictionary, the image used is chosen depending on the screen's pixel density. If the number of image pixels that fit into one screen space unit equals scale, then an image with size scale * n is selected, where n is the size of the icon in the UI. At least one image must be specified. Note that 'details.path = foo' is equivalent to 'details.path = {'16': foo}'
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabId int?
Limits the change to when a particular tab is selected. Automatically resets when the tab is closed.
getter/setter pair
toJS → SetIconDetails
no setter

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