copyWith method
ShadKbdTheme
copyWith({
- Color? backgroundColor,
- Color? foregroundColor,
- ShadBorder? border,
- EdgeInsetsGeometry? padding,
- TextStyle? textStyle,
- double? gap,
- double? minWidth,
- double? height,
inherited
Implementation
ShadKbdTheme copyWith({
Color? backgroundColor,
Color? foregroundColor,
ShadBorder? border,
EdgeInsetsGeometry? padding,
TextStyle? textStyle,
double? gap,
double? minWidth,
double? height,
}) {
final _this = (this as ShadKbdTheme);
return ShadKbdTheme(
backgroundColor: backgroundColor ?? _this.backgroundColor,
foregroundColor: foregroundColor ?? _this.foregroundColor,
border: border ?? _this.border,
padding: padding ?? _this.padding,
textStyle: textStyle ?? _this.textStyle,
gap: gap ?? _this.gap,
minWidth: minWidth ?? _this.minWidth,
height: height ?? _this.height,
);
}