setPaletteColor abstract method
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,
});
Sets color in RGBA mode for colorIndex. If the color is not provided for some index, the default value 0x0066FFFF is used.
void setPaletteColor(
ui.Color color, {
required core.int colorIndex,
});