UITheme constructor
UITheme({
- UIColorRef? background,
- UIColorRef? foreground,
- UIColorRef? accent,
- Iterable<
MapEntry< ? custom,String, UIColorRef> >
Implementation
factory UITheme({
UIColorRef? background,
UIColorRef? foreground,
UIColorRef? accent,
$core.Iterable<$core.MapEntry<$core.String, UIColorRef>>? custom,
}) {
final result = create();
if (background != null) result.background = background;
if (foreground != null) result.foreground = foreground;
if (accent != null) result.accent = accent;
if (custom != null) result.custom.addEntries(custom);
return result;
}