copyWith method
AwesomeButtonTheme
copyWith({
- Color? foregroundColor,
- Color? backgroundColor,
- double? iconSize,
- EdgeInsets? padding,
- ShapeBorder? shape,
- bool? rotateWithCamera,
- ButtonBuilder? buttonBuilder,
- double? baseIconSize,
Implementation
AwesomeButtonTheme copyWith({
Color? foregroundColor,
Color? backgroundColor,
double? iconSize,
EdgeInsets? padding,
ShapeBorder? shape,
bool? rotateWithCamera,
ButtonBuilder? buttonBuilder,
double? baseIconSize,
}) {
return AwesomeButtonTheme(
foregroundColor: foregroundColor ?? this.foregroundColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
iconSize: iconSize ?? this.iconSize,
padding: padding ?? this.padding,
shape: shape ?? this.shape,
rotateWithCamera: rotateWithCamera ?? this.rotateWithCamera,
buttonBuilder: buttonBuilder ?? this.buttonBuilder,
);
}