copyWith method
ZeroSpeedDialStyle
copyWith({
- Color? activeColor,
- Color? inactiveColor,
- double? size,
- double? spacing,
- Color? tooltipBackgroundColor,
- Color? tooltipBorderColor,
- double? elevation,
- Color? shadowColor,
- BorderRadius? borderRadius,
- 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,
);
}