copyWith method

HubbleButtonLargeStyle copyWith({
  1. Color? color,
  2. Color? disabledColor,
  3. double? height,
  4. double? width,
  5. double? radius,
  6. TextStyle? textStyle,
  7. TextStyle? disabledTextStyle,
  8. ButtonStyle? buttonStyle,
})

Implementation

HubbleButtonLargeStyle copyWith({
  Color? color,
  Color? disabledColor,
  double? height,
  double? width,
  double? radius,
  TextStyle? textStyle,
  TextStyle? disabledTextStyle,
  ButtonStyle? buttonStyle,
}) {
  return HubbleButtonLargeStyle(
    buttonStyle: buttonStyle ?? this.buttonStyle,
    disabledColor: disabledColor ?? this.disabledColor,
    color: color ?? this.color,
    width: width ?? this.width,
    height: height ?? this.height,
    radius: radius ?? this.radius,
    textStyle: textStyle ?? this.textStyle,
    disabledTextStyle: disabledTextStyle ?? this.disabledTextStyle,
  );
}