copyWith method

ZeroSpeedDialStyle copyWith({
  1. Color? activeColor,
  2. Color? inactiveColor,
  3. double? size,
  4. double? spacing,
  5. Color? tooltipBackgroundColor,
  6. Color? tooltipBorderColor,
  7. double? elevation,
  8. Color? shadowColor,
  9. BorderRadius? borderRadius,
  10. ZeroTooltipStyle? tooltipStyle,
})

Implementation

ZeroSpeedDialStyle copyWith({
  Color? activeColor,
  Color? inactiveColor,
  double? size,
  double? spacing,
  Color? tooltipBackgroundColor,
  Color? tooltipBorderColor,
  double? elevation,
  Color? shadowColor,
  BorderRadius? borderRadius,
  ZeroTooltipStyle? tooltipStyle,
}) {
  return ZeroSpeedDialStyle(
    activeColor: activeColor ?? this.activeColor,
    inactiveColor: inactiveColor ?? this.inactiveColor,
    size: size ?? this.size,
    spacing: spacing ?? this.spacing,
    tooltipBackgroundColor:
        tooltipBackgroundColor ?? this.tooltipBackgroundColor,
    tooltipBorderColor: tooltipBorderColor ?? this.tooltipBorderColor,
    elevation: elevation ?? this.elevation,
    shadowColor: shadowColor ?? this.shadowColor,
    borderRadius: borderRadius ?? this.borderRadius,
    tooltipStyle: tooltipStyle ?? this.tooltipStyle,
  );
}