copyWith method

IconThemeProperties copyWith({
  1. IconThemeData? x4Small,
  2. IconThemeData? x3Small,
  3. IconThemeData? x2Small,
  4. IconThemeData? xSmall,
  5. IconThemeData? small,
  6. IconThemeData? medium,
  7. IconThemeData? large,
  8. IconThemeData? xLarge,
  9. IconThemeData? x2Large,
  10. IconThemeData? x3Large,
  11. IconThemeData? x4Large,
})

Implementation

IconThemeProperties copyWith({
  IconThemeData? x4Small,
  IconThemeData? x3Small,
  IconThemeData? x2Small,
  IconThemeData? xSmall,
  IconThemeData? small,
  IconThemeData? medium,
  IconThemeData? large,
  IconThemeData? xLarge,
  IconThemeData? x2Large,
  IconThemeData? x3Large,
  IconThemeData? x4Large,
}) {
  return IconThemeProperties(
    x4Small: x4Small ?? this.x4Small,
    x3Small: x3Small ?? this.x3Small,
    x2Small: x2Small ?? this.x2Small,
    xSmall: xSmall ?? this.xSmall,
    small: small ?? this.small,
    medium: medium ?? this.medium,
    large: large ?? this.large,
    xLarge: xLarge ?? this.xLarge,
    x2Large: x2Large ?? this.x2Large,
    x3Large: x3Large ?? this.x3Large,
    x4Large: x4Large ?? this.x4Large,
  );
}