merge method

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

Implementation

@override
UITextFieldThemeData merge(covariant UITextFieldThemeData? other) {
  return UITextFieldThemeData(
    height: other?.height ?? height,
    iconConstraints: other?.iconConstraints ?? iconConstraints,
    borderWidth: other?.borderWidth ?? borderWidth,
    titleSpacing: other?.titleSpacing ?? titleSpacing,
    cursorColor: other?.cursorColor ?? cursorColor,
    backgroundColor: other?.backgroundColor ?? backgroundColor,
    errorColor: other?.errorColor ?? errorColor,
    focusBorderColor: other?.focusBorderColor ?? focusBorderColor,
    borderColor: other?.borderColor ?? borderColor,
    counterStyle: other?.counterStyle ?? counterStyle,
    titleStyle: other?.titleStyle ?? titleStyle,
    textStyle: other?.textStyle ?? textStyle,
    hintStyle: other?.hintStyle ?? hintStyle,
    labelStyle: other?.labelStyle ?? labelStyle,
    errorStyle: other?.errorStyle ?? errorStyle,
    cleanSuffixIcon: other?.cleanSuffixIcon ?? cleanSuffixIcon,
    obscureSuffixIcon: other?.obscureSuffixIcon ?? obscureSuffixIcon,
    defaultBorderRadius: other?.defaultBorderRadius ?? defaultBorderRadius,
    moreLinesBorderRadius: other?.moreLinesBorderRadius ?? moreLinesBorderRadius,
    contentPadding: other?.contentPadding ?? contentPadding,
  );
}