apply property

void apply=(NikuTextStyle? v)

Implementation

set apply(NikuTextStyle? v) {
  if (v == null) return;

  inherit = v.inherit || inherit;
  color = v.color ?? color;
  backgroundColor = v.backgroundColor ?? backgroundColor;
  fontFamily = v.fontFamily ?? fontFamily;
  fontFamilyFallback = v.fontFamilyFallback ?? fontFamilyFallback;
  fontSize = v.fontSize ?? fontSize;
  fontWeight = v.fontWeight ?? fontWeight;
  fontStyle = v.fontStyle ?? fontStyle;
  letterSpacing = v.letterSpacing ?? letterSpacing;
  wordSpacing = v.wordSpacing ?? wordSpacing;
  textBaseline = v.textBaseline ?? textBaseline;
  height = v.height ?? height;
  leadingDistribution = v.leadingDistribution ?? leadingDistribution;
  locale = v.locale ?? locale;
  foreground = v.foreground ?? foreground;
  background = v.background ?? background;
  decoration = v.decoration ?? decoration;
  decorationColor = v.decorationColor ?? decorationColor;
  decorationStyle = v.decorationStyle ?? decorationStyle;
  decorationThickness = v.decorationThickness ?? decorationThickness;
  debugLabel = v.debugLabel ?? debugLabel;
  shadows = v.shadows ?? shadows;
  fontFeatures = v.fontFeatures ?? fontFeatures;
  overflow = v.overflow ?? overflow;
}