copyWith method

Implementation

ShadButtonSizesTheme copyWith({
  ShadButtonSizeTheme? regular,
  ShadButtonSizeTheme? sm,
  ShadButtonSizeTheme? lg,
  ShadButtonSizeTheme? icon,
}) {
  final _this = (this as ShadButtonSizesTheme);

  return ShadButtonSizesTheme(
    regular: regular ?? _this.regular,
    sm: sm ?? _this.sm,
    lg: lg ?? _this.lg,
    icon: icon ?? _this.icon,
  );
}