LinuxRawIconData class
Represents an icon in the raw image data.
Constructors
- LinuxRawIconData({required Uint8List data, required int width, required int height, int? rowStride, int bitsPerSample = 8, int channels = 3, bool hasAlpha = false})
- Constructs an instance of LinuxRawIconData.
Properties
- bitsPerSample → int
-
The number of bits in each color sample
final
- channels → int
-
The number of channels in the image (e.g. 3 for RGB, 4 for RGBA).
If hasAlpha is
true
, must be 4.final - data → Uint8List
-
Raw data (decoded from the image format) for the image in bytes.
final
- hasAlpha → bool
-
Determines if the image has an alpha channel
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Height of the image in pixels
final
- rowStride → int
-
The number of bytes per row in data
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Width of the image in pixels
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