LinuxRawIconData constructor

LinuxRawIconData({
  1. required Uint8List data,
  2. required int width,
  3. required int height,
  4. int? rowStride,
  5. int bitsPerSample = 8,
  6. int channels = 3,
  7. bool hasAlpha = false,
})

Constructs an instance of LinuxRawIconData.

Implementation

LinuxRawIconData({
  required this.data,
  required this.width,
  required this.height,
  int? rowStride,
  this.bitsPerSample = 8,
  this.channels = 3,
  this.hasAlpha = false,
}) : rowStride = rowStride ?? ((width * channels * bitsPerSample) / 8).ceil();