copyWith method

StreamEmojiChipThemeStyle copyWith({
  1. WidgetStateProperty<Color?>? backgroundColor,
  2. WidgetStateProperty<Color?>? foregroundColor,
  3. WidgetStateProperty<Color?>? overlayColor,
  4. WidgetStateProperty<TextStyle?>? textStyle,
  5. WidgetStateProperty<double?>? elevation,
  6. WidgetStateProperty<Color?>? shadowColor,
  7. double? emojiSize,
  8. Size? minimumSize,
  9. Size? maximumSize,
  10. EdgeInsetsGeometry? padding,
  11. OutlinedBorder? shape,
  12. WidgetStateBorderSide? side,
})
inherited

Implementation

StreamEmojiChipThemeStyle copyWith({
  WidgetStateProperty<Color?>? backgroundColor,
  WidgetStateProperty<Color?>? foregroundColor,
  WidgetStateProperty<Color?>? overlayColor,
  WidgetStateProperty<TextStyle?>? textStyle,
  WidgetStateProperty<double?>? elevation,
  WidgetStateProperty<Color?>? shadowColor,
  double? emojiSize,
  Size? minimumSize,
  Size? maximumSize,
  EdgeInsetsGeometry? padding,
  OutlinedBorder? shape,
  WidgetStateBorderSide? side,
}) {
  final _this = (this as StreamEmojiChipThemeStyle);

  return StreamEmojiChipThemeStyle(
    backgroundColor: backgroundColor ?? _this.backgroundColor,
    foregroundColor: foregroundColor ?? _this.foregroundColor,
    overlayColor: overlayColor ?? _this.overlayColor,
    textStyle: textStyle ?? _this.textStyle,
    elevation: elevation ?? _this.elevation,
    shadowColor: shadowColor ?? _this.shadowColor,
    emojiSize: emojiSize ?? _this.emojiSize,
    minimumSize: minimumSize ?? _this.minimumSize,
    maximumSize: maximumSize ?? _this.maximumSize,
    padding: padding ?? _this.padding,
    shape: shape ?? _this.shape,
    side: side ?? _this.side,
  );
}