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