copyWith method
Screen1
copyWith(
{ - Caption? heading,
- Caption? caption,
- Task? taskHeading,
- Task? taskCaption,
- String? taskCardColor,
- String? taskIconId,
- String? progressBarColor1,
- String? progressBarColor2,
- String? bgColor,
- String? bannerImageId,
- String? bannerImageUrl,
- String? taskIconUrl,
})
Implementation
Screen1 copyWith({
Caption? heading,
Caption? caption,
Task? taskHeading,
Task? taskCaption,
String? taskCardColor,
String? taskIconId,
String? progressBarColor1,
String? progressBarColor2,
String? bgColor,
String? bannerImageId,
String? bannerImageUrl,
String? taskIconUrl,
}) =>
Screen1(
heading: heading ?? this.heading,
caption: caption ?? this.caption,
taskHeading: taskHeading ?? this.taskHeading,
taskCaption: taskCaption ?? this.taskCaption,
taskCardColor: taskCardColor ?? this.taskCardColor,
taskIconId: taskIconId ?? this.taskIconId,
progressBarColor1: progressBarColor1 ?? this.progressBarColor1,
progressBarColor2: progressBarColor2 ?? this.progressBarColor2,
bgColor: bgColor ?? this.bgColor,
bannerImageId: bannerImageId ?? this.bannerImageId,
bannerImageUrl: bannerImageUrl ?? this.bannerImageUrl,
taskIconUrl: taskIconUrl ?? this.taskIconUrl,
);