retint method
theme with its colours replaced by slot's picture's
(colorsFor); theme itself when it is none of the app's own.
Implementation
ExpressiveThemeData retint(ExpressiveThemeData theme, String slot) {
final colors = colorsFor(slot, theme);
return colors == null ? theme : theme.copyWith(colors: colors);
}