swatchFor method
- String name
The best match for a named target (e.g. 'vibrant'), or null.
Valid names are the PaletteTarget.all names: vibrant,
lightVibrant, darkVibrant, muted, lightMuted, darkMuted.
Implementation
PaletteSwatch? swatchFor(String name) => targetSwatches[name];