copyWith method

SContextMenuTheme copyWith({
  1. double? panelBorderRadius,
  2. double? panelBlurSigma,
  3. EdgeInsets? panelPadding,
  4. Color? panelBackgroundColor,
  5. Color? panelBorderColor,
  6. List<BoxShadow>? panelShadows,
  7. ArrowShape? arrowShape,
  8. double? arrowBaseWidth,
  9. double? arrowCornerRadius,
  10. double? arrowTipGap,
  11. double? arrowMaxLength,
  12. double? arrowTipRoundness,
  13. Duration? showDuration,
  14. Duration? hideDuration,
  15. Color? iconColor,
  16. Color? destructiveColor,
  17. Color? hoverColor,
  18. Color? arrowColor,
})

Implementation

SContextMenuTheme copyWith({
  double? panelBorderRadius,
  double? panelBlurSigma,
  EdgeInsets? panelPadding,
  Color? panelBackgroundColor,
  Color? panelBorderColor,
  List<BoxShadow>? panelShadows,
  ArrowShape? arrowShape,
  double? arrowBaseWidth,
  double? arrowCornerRadius,
  double? arrowTipGap,
  double? arrowMaxLength,
  double? arrowTipRoundness,
  Duration? showDuration,
  Duration? hideDuration,
  Color? iconColor,
  Color? destructiveColor,
  Color? hoverColor,
  Color? arrowColor,
}) =>
    SContextMenuTheme(
      panelBorderRadius: panelBorderRadius ?? this.panelBorderRadius,
      panelBlurSigma: panelBlurSigma ?? this.panelBlurSigma,
      panelPadding: panelPadding ?? this.panelPadding,
      panelBackgroundColor: panelBackgroundColor ?? this.panelBackgroundColor,
      panelBorderColor: panelBorderColor ?? this.panelBorderColor,
      panelShadows: panelShadows ?? this.panelShadows,
      arrowShape: arrowShape ?? this.arrowShape,
      arrowBaseWidth: arrowBaseWidth ?? this.arrowBaseWidth,
      arrowCornerRadius: arrowCornerRadius ?? this.arrowCornerRadius,
      arrowTipGap: arrowTipGap ?? this.arrowTipGap,
      arrowMaxLength: arrowMaxLength ?? this.arrowMaxLength,
      arrowTipRoundness: arrowTipRoundness ?? this.arrowTipRoundness,
      showDuration: showDuration ?? this.showDuration,
      hideDuration: hideDuration ?? this.hideDuration,
      iconColor: iconColor ?? this.iconColor,
      destructiveColor: destructiveColor ?? this.destructiveColor,
      hoverColor: hoverColor ?? this.hoverColor,
      arrowColor: arrowColor ?? this.arrowColor,
    );