mergaWith method

dynamic mergaWith({
  1. Color? primaryText,
  2. Color? regularText,
  3. Color? secondaryText,
  4. Color? placeholderText,
  5. Color? scaffoldBackgroundColor,
  6. Color? backgroundColor,
})

Implementation

mergaWith({
  Color? primaryText,
  Color? regularText,
  Color? secondaryText,
  Color? placeholderText,
  Color? scaffoldBackgroundColor,
  // Color? foregroundColor,
  Color? backgroundColor,
  // Color? placeholderColor,
}) {
  this.primaryText = primaryText ?? this.primaryText;
  this.regularText = regularText ?? this.regularText;
  this.secondaryText = secondaryText ?? this.secondaryText;
  this.placeholderText = placeholderText ?? this.placeholderText;

  // this.foregroundColor = foregroundColor ?? this.foregroundColor;
  this.backgroundColor = backgroundColor ?? this.backgroundColor;
  this.scaffoldBackgroundColor =
      scaffoldBackgroundColor ?? this.scaffoldBackgroundColor;
  // this.placeholderColor = placeholderColor ?? this.placeholderColor;
}