copyWith method
MacosIconButtonThemeData
copyWith({
- Color? backgroundColor,
- Color? disabledColor,
- Color? hoverColor,
- BoxShape? shape,
- BorderRadius? borderRadius,
- BoxConstraints? boxConstraints,
- EdgeInsetsGeometry? padding,
Copies this MacosIconButtonThemeData into another.
Implementation
MacosIconButtonThemeData copyWith({
Color? backgroundColor,
Color? disabledColor,
Color? hoverColor,
BoxShape? shape,
BorderRadius? borderRadius,
BoxConstraints? boxConstraints,
EdgeInsetsGeometry? padding,
}) {
return MacosIconButtonThemeData(
backgroundColor: backgroundColor ?? this.backgroundColor,
disabledColor: disabledColor ?? this.disabledColor,
hoverColor: hoverColor ?? this.hoverColor,
shape: shape ?? this.shape,
borderRadius: borderRadius ?? this.borderRadius,
boxConstraints: boxConstraints ?? this.boxConstraints,
padding: padding ?? this.padding,
);
}