updateStyle method

UpThemeData updateStyle({
  1. UpStyle? primaryStyle,
  2. UpStyle? secondaryStyle,
  3. UpStyle? tertiaryStyle,
  4. UpStyle? warnStyle,
  5. UpStyle? linkStyle,
  6. UpStyle? successStyle,
  7. UpStyle? basicStyle,
})

Implementation

UpThemeData updateStyle({
  UpStyle? primaryStyle,
  UpStyle? secondaryStyle,
  UpStyle? tertiaryStyle,
  UpStyle? warnStyle,
  UpStyle? linkStyle,
  UpStyle? successStyle,
  UpStyle? basicStyle,
}) {
  if (primaryStyle != null) {
    this.primaryStyle = primaryStyle;
  }
  if (basicStyle != null) {
    this.basicStyle = basicStyle;
  }
  if (secondaryStyle != null) {
    this.secondaryStyle = secondaryStyle;
  }
  if (tertiaryStyle != null) {
    this.tertiaryStyle = tertiaryStyle;
  }
  if (warnStyle != null) {
    this.warnStyle = warnStyle;
  }
  if (successStyle != null) {
    this.successStyle = successStyle;
  }
  return this;
}