copyWith method
Implementation
AtomicActionListItem copyWith({
String? text,
String? subtext,
IconData? icon,
VoidCallback? onTap,
bool? enabled,
String? uniqueKey,
}) {
return AtomicActionListItem(
text: text ?? this.text,
subtext: subtext ?? this.subtext,
icon: icon ?? this.icon,
onTap: onTap ?? this.onTap,
enabled: enabled ?? this.enabled,
uniqueKey: uniqueKey ?? this.uniqueKey,
);
}