supportsPalette property
bool
get
supportsPalette
Is true if this image format supports using a palette.
Implementation
bool get supportsPalette =>
format == Format.uint1 ||
format == Format.uint2 ||
format == Format.uint4 ||
format == Format.uint8 ||
format == Format.uint16;