clone method

Implementation

AnythingFielderOptions clone() {
  AnythingFielderOptions newInstance = AnythingFielderOptions();

  newInstance.isHorizontal = isHorizontal;
  newInstance.requiredIcon = requiredIcon;

  newInstance.titleStyle = titleStyle;
  newInstance.titleTailWidgets = titleTailWidgets;

  newInstance.contentWidth = contentWidth;
  newInstance.contentHeight = contentHeight;
  newInstance.contentMargin = contentMargin;
  newInstance.contentPadding = contentPadding;
  newInstance.contentDecorationNormal = contentDecorationNormal;
  newInstance.contentDecorationFocused = contentDecorationFocused;

  newInstance.contentHintText = contentHintText;
  newInstance.contentHintStyle = contentHintStyle;
  newInstance.contentTextStyle = contentTextStyle;

  newInstance.contentStartWidget = contentStartWidget;
  newInstance.contentEndWidget = contentEndWidget;
  newInstance.contentArrowIcon = contentArrowIcon;
  newInstance.contentClearIcon = contentClearIcon;
  newInstance.contentLoadingIcon = contentLoadingIcon;

  newInstance.maxLines = maxLines;
  newInstance.maxLength = maxLength;
  newInstance.onEventTextChangedRaw = onEventTextChangedRaw;
  newInstance.onEventTextChangedFilter = onEventTextChangedFilter;
  newInstance.keyboardType = keyboardType;
  newInstance.textAlign = textAlign;
  newInstance.textPadding = textPadding;
  newInstance.inputFormatters = inputFormatters;
  newInstance.inputDecorationNormal = inputDecorationNormal;
  newInstance.inputDecorationFocused = inputDecorationFocused;

  return newInstance;
}