fromTextView method

Implementation

TextViewController fromTextView(TextView view) {
  super.fromView(view);

  ellipsis = view.ellipsis;

  maxCharacters = view.maxCharacters;
  maxLines = view.maxLines;
  locale = view.locale;

  letterSpacing = view.letterSpacing;
  lineSpacingExtra = view.lineSpacingExtra;
  selectionColor = view.selectionColor;
  semanticsLabel = view.semanticsLabel;
  softWrap = view.softWrap;
  strutStyle = view.strutStyle;
  wordSpacing = view.wordSpacing;

  text = view.text;
  textState = view.textState;
  textAlign = view.textAlign;
  textAllCaps = view.textAllCaps;
  textColor = view.textColor;
  textColorState = view.textColorState;
  textDecoration = view.textDecoration;
  textDecorationColor = view.textDecorationColor;
  textDecorationStyle = view.textDecorationStyle;
  textDecorationThickness = view.textDecorationThickness;
  textDirection = view.textDirection;
  textFontFamily = view.textFontFamily;
  textFontStyle = view.textFontStyle;
  textFontWeight = view.textFontWeight;
  textFontWeightState = view.textFontWeightState;
  textHeightBehavior = view.textHeightBehavior;
  textLeadingDistribution = view.textLeadingDistribution;
  textOverflow = view.textOverflow;
  textSize = view.textSize;
  textSizeState = view.textSizeState;
  textSpans = view.textSpans;
  textStyle = view.textStyle;
  textStyleState = view.textStyleState;
  textWidthBasis = view.textWidthBasis;
  textExtras = textExtrasFromSpans;
  onTextClick = view.onTextClick;

  ///PREFIX
  prefixFontStyle = view.prefixFontStyle;
  prefixFontWeight = view.prefixFontWeight;
  prefixFontWeightState = view.prefixFontWeightState;
  prefixText = view.prefixText;
  prefixTextState = view.prefixTextState;
  prefixTextAllCaps = view.prefixTextAllCaps;
  prefixTextColor = view.prefixTextColor;
  prefixTextColorState = view.prefixTextColorState;
  prefixTextDecoration = view.prefixTextDecoration;
  prefixTextDecorationColor = view.prefixTextDecorationColor;
  prefixTextDecorationStyle = view.prefixTextDecorationStyle;
  prefixTextDecorationThickness = view.prefixTextDecorationThickness;
  prefixTextLetterSpace = view.prefixTextLetterSpace;
  prefixTextSize = view.prefixTextSize;
  prefixTextSizeState = view.prefixTextSizeState;
  prefixTextStyle = view.prefixTextStyle;
  prefixTextStyleState = view.prefixTextStyleState;
  prefixTextVisible = view.prefixTextVisible;
  onPrefixClick = view.onPrefixClick;

  ///SUFFIX
  suffixFontStyle = view.suffixFontStyle;
  suffixFontWeight = view.suffixFontWeight;
  suffixFontWeightState = view.suffixFontWeightState;
  suffixText = view.suffixText;
  suffixTextState = view.suffixTextState;
  suffixTextAllCaps = view.suffixTextAllCaps;
  suffixTextColor = view.suffixTextColor;
  suffixTextColorState = view.suffixTextColorState;
  suffixTextDecoration = view.suffixTextDecoration;
  suffixTextDecorationColor = view.suffixTextDecorationColor;
  suffixTextDecorationStyle = view.suffixTextDecorationStyle;
  suffixTextDecorationThickness = view.suffixTextDecorationThickness;
  suffixTextLetterSpace = view.suffixTextLetterSpace;
  suffixTextSize = view.suffixTextSize;
  suffixTextSizeState = view.suffixTextSizeState;
  suffixTextStyle = view.suffixTextStyle;
  suffixTextStyleState = view.suffixTextStyleState;
  suffixTextVisible = view.suffixTextVisible;
  onSuffixClick = view.onSuffixClick;

  return this;
}