copyWith method
Returns copy of ZetaGroupButton with fields.
Implementation
ZetaGroupButton copyWith({
bool? isFinal,
bool? isInitial,
bool? isLarge,
bool? rounded,
bool? isInverse,
String? semanticLabel,
}) {
return ZetaGroupButton._(
key: key,
label: label,
icon: icon,
onPressed: onPressed,
items: items,
onChange: onChange,
isFinal: isFinal ?? this.isFinal,
initialValue: initialValue,
isInitial: isInitial ?? this.isInitial,
isLarge: isLarge ?? this.isLarge,
rounded: rounded ?? this.rounded,
isInverse: isInverse ?? this.isInverse,
semanticLabel: semanticLabel ?? this.semanticLabel,
);
}