Theme constructor

Theme({
  1. String? primaryColor,
  2. String? backgroundColor,
  3. String? warnColor,
  4. String? fontColor,
  5. String? logoUrl,
  6. String? iconUrl,
})

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;
}