merge method
Implementation
@override
UIButtonThemeData merge(covariant UIButtonThemeData? other) {
return UIButtonThemeData(
height: other?.height ?? height,
spacing: other?.spacing ?? spacing,
backgroundColor: other?.backgroundColor ?? backgroundColor,
foregroundColor: other?.foregroundColor ?? foregroundColor,
textStyle: other?.textStyle ?? textStyle,
leftSuffixIcon: other?.leftSuffixIcon ?? leftSuffixIcon,
rightSuffixIcon: other?.rightSuffixIcon ?? rightSuffixIcon,
borderRadius: other?.borderRadius ?? borderRadius,
border: other?.border ?? border,
padding: other?.padding ?? padding,
fontFamily: other?.fontFamily ?? fontFamily,
);
}