copyWith method

RCKEmojiPageIndicatorConfig copyWith({
  1. Color? activeColor,
  2. Color? inactiveColor,
  3. double? size,
  4. double? spacing,
  5. double? bottomPadding,
})

Implementation

RCKEmojiPageIndicatorConfig copyWith({
  Color? activeColor,
  Color? inactiveColor,
  double? size,
  double? spacing,
  double? bottomPadding,
}) {
  return RCKEmojiPageIndicatorConfig(
    activeColor: activeColor ?? this.activeColor,
    inactiveColor: inactiveColor ?? this.inactiveColor,
    size: size ?? this.size,
    spacing: spacing ?? this.spacing,
    bottomPadding: bottomPadding ?? this.bottomPadding,
  );
}