IconDirectoryEntry class

An icon directory entry.

Constructors

IconDirectoryEntry({required int width, required int height, required int colorCount, required int reserved, required int numPlanes, required int bitsPerPixel, required int imageSize, required int imageOffset, required Uint8List imageData})
An icon directory entry.
IconDirectoryEntry.fromBytes(ByteData bytes, int offset)
Creates an IconDirectoryEntry from a ByteData.
factory

Properties

bitsPerPixel int
The number of bits per pixel.
final
colorCount int
The number of colors in the image.
final
hashCode int
The hash code for this object.
no setterinherited
height int
The height of the image.
final
imageData Uint8List
The image data.
final
imageOffset int
The offset of the image data.
final
imageSize int
The size of the image data.
final
numPlanes int
The number of planes in the image.
final
reserved int
The reserved field of the entry.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The width of the image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Creates a Uint8List from an IconDirectoryEntry.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

entrySize → const int
The size of the entry in bytes.