attach method
TextViewController
attach(
- YMRView<
ViewController> view, { - int? maxCharacters,
- int? maxLines,
- double? letterSpacing,
- double? lineSpacingExtra,
- double? wordSpacing,
- String? ellipsizeText,
- bool? ellipsizeVisibility,
- double? ellipsizeLetterSpace,
- Color? ellipsizeTextColor,
- double? ellipsizeTextSize,
- FontStyle? ellipsizeTextStyle,
- FontWeight? ellipsizeTextWeight,
- String? fontFamily,
- FontStyle? fontStyle,
- FontWeight? fontWeight,
- String? text,
- TextAlign? textAlign,
- Color? textColor,
- TextDecoration? textDecoration,
- Color? textDecorationColor,
- TextDecorationStyle? textDecorationStyle,
- double? textDecorationThickness,
- TextDirection? textDirection,
- TextLeadingDistribution? textLeadingDistribution,
- TextOverflow? textOverflow,
- double? textSize,
- List<
TextSpan> ? textSpans, - TextStyle? textStyle,
override
Implementation
@override
TextViewController attach(
YMRView view, {
int? maxCharacters,
int? maxLines,
double? letterSpacing,
double? lineSpacingExtra,
double? wordSpacing,
String? ellipsizeText,
bool? ellipsizeVisibility,
double? ellipsizeLetterSpace,
Color? ellipsizeTextColor,
double? ellipsizeTextSize,
FontStyle? ellipsizeTextStyle,
FontWeight? ellipsizeTextWeight,
String? fontFamily,
FontStyle? fontStyle,
FontWeight? fontWeight,
String? text,
TextAlign? textAlign,
Color? textColor,
TextDecoration? textDecoration,
Color? textDecorationColor,
TextDecorationStyle? textDecorationStyle,
double? textDecorationThickness,
TextDirection? textDirection,
TextLeadingDistribution? textLeadingDistribution,
TextOverflow? textOverflow,
double? textSize,
List<TextSpan>? textSpans,
TextStyle? textStyle,
}) {
super.attach(view);
this.maxCharacters = maxCharacters ?? this.maxCharacters;
this.maxLines = maxLines ?? this.maxLines;
this.letterSpacing = letterSpacing ?? this.letterSpacing;
this.lineSpacingExtra = lineSpacingExtra ?? this.lineSpacingExtra;
this.wordSpacing = wordSpacing ?? this.wordSpacing;
this.ellipsizeVisibility = ellipsizeVisibility ?? this.ellipsizeVisibility;
this.ellipsizeLetterSpace =
ellipsizeLetterSpace ?? this.ellipsizeLetterSpace;
this.ellipsizeText = ellipsizeText ?? this.ellipsizeText;
this.ellipsizeTextColor = ellipsizeTextColor ?? this.ellipsizeTextColor;
this.ellipsizeTextSize = ellipsizeTextSize ?? this.ellipsizeTextSize;
this.ellipsizeTextStyle = ellipsizeTextStyle ?? this.ellipsizeTextStyle;
this.ellipsizeTextWeight = ellipsizeTextWeight ?? this.ellipsizeTextWeight;
this.fontFamily = fontFamily ?? this.fontFamily;
this.fontStyle = fontStyle ?? this.fontStyle;
this.fontWeight = fontWeight ?? this.fontWeight;
this.text = text ?? this.text;
this.textAlign = textAlign ?? this.textAlign;
this.textColor = textColor ?? this.textColor;
this.textDecoration = textDecoration ?? this.textDecoration;
this.textDecorationColor = textDecorationColor ?? this.textDecorationColor;
this.textDecorationStyle = textDecorationStyle ?? this.textDecorationStyle;
this.textDecorationThickness =
textDecorationThickness ?? this.textDecorationThickness;
this.textDirection = textDirection ?? this.textDirection;
this.textLeadingDistribution =
textLeadingDistribution ?? this.textLeadingDistribution;
this.textOverflow = textOverflow ?? this.textOverflow;
this.textSize = textSize ?? this.textSize;
this.textSpans = textSpans ?? this.textSpans;
this.textStyle = textStyle ?? this.textStyle;
return this;
}