copyWith method

ShadButtonSizeTheme copyWith({
  1. double? height,
  2. EdgeInsetsGeometry? padding,
  3. double? width,
})
inherited

Implementation

ShadButtonSizeTheme copyWith({
  double? height,
  EdgeInsetsGeometry? padding,
  double? width,
}) {
  final _this = (this as ShadButtonSizeTheme);

  return ShadButtonSizeTheme(
    height: height ?? _this.height,
    padding: padding ?? _this.padding,
    width: width ?? _this.width,
  );
}