merge method
Implementation
ZeroButtonStyle merge(ZeroButtonStyle? other) {
if (other == null) {
return this;
}
return copyWith(
foregroundColor: other.foregroundColor,
backgroundColor: other.backgroundColor,
disabledForegroundColor: other.disabledForegroundColor,
disabledBackgroundColor: other.disabledBackgroundColor,
shadowColor: other.shadowColor,
surfaceTintColor: other.surfaceTintColor,
elevation: other.elevation,
textStyle: textStyle?.merge(other.textStyle) ?? other.textStyle,
padding: other.padding,
minimumSize: other.minimumSize,
fixedSize: other.fixedSize,
maximumSize: other.maximumSize,
side: other.side,
shape: other.shape,
visualDensity: other.visualDensity,
tapTargetSize: other.tapTargetSize,
animationDuration: other.animationDuration,
enableFeedback: other.enableFeedback,
alignment: other.alignment,
splashFactory: other.splashFactory,
animatingColor: other.animatingColor,
);
}