rainbow_vis library Null safety

Map numbers to a smooth-transitioning color legend.

This is a based on, but not a direct port of, RainbowVis-JS written by anomal.

Classes

Rainbow
Maps a domain of numbers within a specified range onto a smooth-transitioning color space.