copyWith method

ZetaGlobalHeaderItem copyWith({
  1. Widget? dropdown,
  2. bool? active,
  3. VoidCallback? handlePress,
  4. 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,
  );
}