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