PlateThemeResolver typedef

PlateThemeResolver = PlateTheme Function(PlateTheme base, String group(String key))

Picks a plate's colours from what is typed, so one spec can be several liveries. base is the host's theme (return it to leave it alone); group reads a PlateTextGroup by key. Changes cross-fade.

Implementation

typedef PlateThemeResolver =
    PlateTheme Function(PlateTheme base, String Function(String key) group);