PaletteUint8 constructor

PaletteUint8(
  1. int numColors,
  2. int numChannels
)

Implementation

PaletteUint8(int numColors, int numChannels)
    : data = Uint8List(numColors * numChannels),
      super(numColors, numChannels);