merge method

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

Implementation

@override
UIDropdownThemeData merge(covariant UIDropdownThemeData? other) {
  return UIDropdownThemeData(
    height: other?.height ?? height,
    iconSize: other?.iconSize ?? iconSize,
    shadowColor: other?.shadowColor ?? shadowColor,
    buttonBackgroundColor: other?.buttonBackgroundColor ?? buttonBackgroundColor,
    iconColor: other?.iconColor ?? iconColor,
    overlayBackgroundColor: other?.overlayBackgroundColor ?? overlayBackgroundColor,
    textStyle: other?.textStyle ?? textStyle,
    hintStyle: other?.hintStyle ?? hintStyle,
    buttonBorderRadius: other?.buttonBorderRadius ?? buttonBorderRadius,
    overlayBorderRadius: other?.overlayBorderRadius ?? overlayBorderRadius,
    itemPadding: other?.itemPadding ?? itemPadding,
    border: other?.border ?? border,
  );
}