copyWith method
Creates a copy of this icon theme but with the given fields replaced with the new values.
Implementation
MacosIconThemeData copyWith({
Color? color,
double? opacity,
double? size,
}) {
return MacosIconThemeData(
color: color ?? this.color,
opacity: opacity ?? this.opacity,
size: size ?? this.size,
);
}