copyWith method
- Widget? dropdown,
- bool? active,
- VoidCallback? onTap,
- String? label,
Return copy
Implementation
ZetaGlobalHeaderItem copyWith({
Widget? dropdown,
bool? active,
VoidCallback? onTap,
String? label,
}) {
return ZetaGlobalHeaderItem(
dropdown: dropdown ?? this.dropdown,
active: active ?? this.active,
onTap: onTap ?? this.onTap,
label: label ?? this.label,
);
}