Theme constructor
Theme({})
Implementation
factory Theme({
$core.String? primaryColor,
$core.String? backgroundColor,
$core.String? warnColor,
$core.String? fontColor,
$core.String? logoUrl,
$core.String? iconUrl,
}) {
final $result = create();
if (primaryColor != null) {
$result.primaryColor = primaryColor;
}
if (backgroundColor != null) {
$result.backgroundColor = backgroundColor;
}
if (warnColor != null) {
$result.warnColor = warnColor;
}
if (fontColor != null) {
$result.fontColor = fontColor;
}
if (logoUrl != null) {
$result.logoUrl = logoUrl;
}
if (iconUrl != null) {
$result.iconUrl = iconUrl;
}
return $result;
}