copyWith method

Implementation

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