copyWith method
Creates a copy of this object with the given fields replaced with the new values.
Implementation
PullDownMenuItemTheme copyWith({
Color? destructiveColor,
double? iconSize,
IconData? checkmark,
FontWeight? checkmarkWeight,
double? checkmarkSize,
TextStyle? textStyle,
TextStyle? iconActionTextStyle,
Color? onHoverColor,
TextStyle? onHoverTextStyle,
}) =>
PullDownMenuItemTheme(
destructiveColor: destructiveColor ?? this.destructiveColor,
iconSize: iconSize ?? this.iconSize,
checkmark: checkmark ?? this.checkmark,
checkmarkWeight: checkmarkWeight ?? this.checkmarkWeight,
checkmarkSize: checkmarkSize ?? this.checkmarkSize,
textStyle: textStyle ?? this.textStyle,
iconActionTextStyle: iconActionTextStyle ?? this.iconActionTextStyle,
onHoverColor: onHoverColor ?? this.onHoverColor,
onHoverTextStyle: onHoverTextStyle ?? this.onHoverTextStyle,
);