merge method

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

Merges with another TextFieldStyler.

Implementation

@override
TextFieldStyler merge(TextFieldStyler? other) {
  return TextFieldStyler.create(
    text: MixOps.merge($text, other?.$text),
    hintText: MixOps.merge($hintText, other?.$hintText),
    textAlign: MixOps.merge($textAlign, other?.$textAlign),
    cursorWidth: MixOps.merge($cursorWidth, other?.$cursorWidth),
    cursorHeight: MixOps.merge($cursorHeight, other?.$cursorHeight),
    cursorRadius: MixOps.merge($cursorRadius, other?.$cursorRadius),
    cursorColor: MixOps.merge($cursorColor, other?.$cursorColor),
    selectionHeightStyle: MixOps.merge(
      $selectionHeightStyle,
      other?.$selectionHeightStyle,
    ),
    selectionWidthStyle: MixOps.merge(
      $selectionWidthStyle,
      other?.$selectionWidthStyle,
    ),
    scrollPadding: MixOps.merge($scrollPadding, other?.$scrollPadding),
    keyboardAppearance: MixOps.merge(
      $keyboardAppearance,
      other?.$keyboardAppearance,
    ),
    cursorOpacityAnimates: MixOps.merge(
      $cursorOpacityAnimates,
      other?.$cursorOpacityAnimates,
    ),
    container: MixOps.merge($container, other?.$container),
    spacing: MixOps.merge($spacing, other?.$spacing),
    crossAxisAlignment: MixOps.merge(
      $crossAxisAlignment,
      other?.$crossAxisAlignment,
    ),
    layout: MixOps.merge($layout, other?.$layout),
    helperText: MixOps.merge($helperText, other?.$helperText),
    label: MixOps.merge($label, other?.$label),
    containerEffects: MixOps.merge(
      $containerEffects,
      other?.$containerEffects,
    ),
    variants: MixOps.mergeVariants($variants, other?.$variants),
    modifier: MixOps.mergeModifier($modifier, other?.$modifier),
    animation: MixOps.mergeAnimation($animation, other?.$animation),
  );
}