copyWith method
Copy the current instance with the new value given
Implementation
ZeroButtonGroupStyle copyWith({
Color? activeColor,
Color? inactiveColor,
Color? activeBorderColor,
Color? inactiveBorderColor,
TextStyle? activeTextStyle,
TextStyle? inactiveTextStyle,
EdgeInsetsGeometry? padding,
}) {
return ZeroButtonGroupStyle(
activeColor: activeColor ?? this.activeColor,
inactiveColor: inactiveColor ?? this.inactiveColor,
activeBorderColor: activeBorderColor ?? this.activeBorderColor,
inactiveBorderColor: inactiveBorderColor ?? this.inactiveBorderColor,
activeTextStyle: activeTextStyle ?? this.activeTextStyle,
inactiveTextStyle: inactiveTextStyle ?? this.inactiveTextStyle,
padding: padding ?? this.padding,
);
}