merge method

  1. @override
UITextButtonThemeData merge(
  1. covariant UITextButtonThemeData? other
)
override

Implementation

@override
UITextButtonThemeData merge(covariant UITextButtonThemeData? other) {
  return UITextButtonThemeData(
    spacing: other?.spacing ?? spacing,
    foregroundColor: other?.foregroundColor ?? foregroundColor,
    textStyle: other?.textStyle ?? textStyle,
    leftSuffixIcon: other?.leftSuffixIcon ?? leftSuffixIcon,
    rightSuffixIcon: other?.rightSuffixIcon ?? rightSuffixIcon,
    loadingThemeData: other?.loadingThemeData ?? loadingThemeData,
    fontFamily: other?.fontFamily ?? fontFamily,
  );
}