copyWith method
RCKEmojiSendButtonConfig
copyWith({
- String? text,
- double? width,
- double? height,
- Color? backgroundColor,
- TextStyle? textStyle,
- double? borderRadius,
- EmojiSendButtonPosition? position,
- EdgeInsets? margin,
Implementation
RCKEmojiSendButtonConfig copyWith({
String? text,
double? width,
double? height,
Color? backgroundColor,
TextStyle? textStyle,
double? borderRadius,
EmojiSendButtonPosition? position,
EdgeInsets? margin,
}) {
return RCKEmojiSendButtonConfig(
text: text ?? this.text,
width: width ?? this.width,
height: height ?? this.height,
backgroundColor: backgroundColor ?? this.backgroundColor,
textStyle: textStyle ?? this.textStyle,
borderRadius: borderRadius ?? this.borderRadius,
position: position ?? this.position,
margin: margin ?? this.margin,
);
}