merge method

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

Implementation

@override
UIExpansionThemeData merge(covariant UIExpansionThemeData? other) {
  return UIExpansionThemeData(
    leadingSpacing: other?.leadingSpacing ?? leadingSpacing,
    contentSpacing: other?.contentSpacing ?? contentSpacing,
    titleSpacing: other?.titleSpacing ?? titleSpacing,
    foregroundColor: other?.foregroundColor ?? foregroundColor,
    backgroundColor: other?.backgroundColor ?? backgroundColor,
    titleStyle: other?.titleStyle ?? titleStyle,
    subtitleStyle: other?.subtitleStyle ?? subtitleStyle,
    actionIcon: other?.actionIcon ?? actionIcon,
  );
}