copyWith method

StepData copyWith({
  1. IconData? icon,
  2. IconData? selectedIcon,
  3. Color? selectedIconColor,
  4. Color? iconColor,
})

Implementation

StepData copyWith({
  IconData? icon,
  IconData? selectedIcon,
  Color? selectedIconColor,
  Color? iconColor,
}) {
  return StepData(
    icon: icon ?? this.icon,
    selectedIcon: selectedIcon ?? this.selectedIcon,
    selectedIconColor: selectedIconColor ?? this.selectedIconColor,
    iconColor: iconColor ?? this.iconColor,
  );
}