copyWith method
RCKEmojiConfig
copyWith({
- Color? backgroundColor,
- double? height,
- int? rowCount,
- int? columnCount,
- double? emojiSize,
- double? rowSpacing,
- double? columnSpacing,
- EdgeInsets? padding,
- RCKEmojiPageIndicatorConfig? pageIndicatorConfig,
- Widget? deleteIcon,
- RCKEmojiSendButtonConfig? sendButtonConfig,
- List<
String> ? customEmojis,
Implementation
RCKEmojiConfig copyWith({
Color? backgroundColor,
double? height,
int? rowCount,
int? columnCount,
double? emojiSize,
double? rowSpacing,
double? columnSpacing,
EdgeInsets? padding,
RCKEmojiPageIndicatorConfig? pageIndicatorConfig,
Widget? deleteIcon,
RCKEmojiSendButtonConfig? sendButtonConfig,
List<String>? customEmojis,
}) {
return RCKEmojiConfig(
backgroundColor: backgroundColor ?? this.backgroundColor,
height: height ?? this.height,
rowCount: rowCount ?? this.rowCount,
columnCount: columnCount ?? this.columnCount,
emojiSize: emojiSize ?? this.emojiSize,
rowSpacing: rowSpacing ?? this.rowSpacing,
columnSpacing: columnSpacing ?? this.columnSpacing,
padding: padding ?? this.padding,
pageIndicatorConfig: pageIndicatorConfig ?? this.pageIndicatorConfig,
deleteIcon: deleteIcon ?? this.deleteIcon,
sendButtonConfig: sendButtonConfig ?? this.sendButtonConfig,
customEmojis: customEmojis ?? this.customEmojis,
);
}