setPaletteColor abstract method

void setPaletteColor(
  1. Color color, {
  2. required int colorIndex,
})

Sets color in RGBA mode for colorIndex. If the color is not provided for some index, the default value 0x0066FFFF is used.

Implementation

void setPaletteColor(
  ui.Color color, {
  required core.int colorIndex,
});