set method
NikuText
set({
- Color? color,
- Color? backgroundColor,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- TextAlign? textAlign,
- double? height,
- Paint? foreground,
- Paint? background,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - TextDecoration? textDecoration,
- Color? textDecorationColor,
- double? textDecorationThickness,
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - TextBaseline? textBaseline,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
Implementation
NikuText set({
Color? color,
Color? backgroundColor,
double? fontSize,
FontWeight? fontWeight,
FontStyle? fontStyle,
double? letterSpacing,
double? wordSpacing,
TextAlign? textAlign,
double? height,
Paint? foreground,
Paint? background,
List<Shadow>? shadows,
List<FontFeature>? fontFeatures,
TextDecoration? textDecoration,
Color? textDecorationColor,
double? textDecorationThickness,
String? fontFamily,
List<String>? fontFamilyFallback,
TextBaseline? textBaseline,
TextDirection? textDirection,
Locale? locale,
bool? softWrap,
TextOverflow? overflow,
double? textScaleFactor,
int? maxLines,
String? semanticsLabel,
TextWidthBasis? textWidthBasis,
TextHeightBehavior? textHeightBehavior,
}) {
this._color = color;
this._backgroundColor = backgroundColor;
this._fontSize = fontSize;
this._fontWeight = fontWeight;
this._fontStyle = fontStyle;
this._letterSpacing = letterSpacing;
this._wordSpacing = wordSpacing;
this._textAlign = textAlign;
this._height = height;
this._foreground = foreground;
this._background = background;
this._shadows = shadows;
this._fontFeatures = fontFeatures;
this._textDecoration = textDecoration;
this._textDecorationColor = textDecorationColor;
this._textDecorationThickness = textDecorationThickness;
this._fontFamily = fontFamily;
this._fontFamilyFallback = fontFamilyFallback;
this._textBaseline = textBaseline;
this._textDirection = textDirection;
this._locale = locale;
this._softWrap = softWrap;
this._overflow = overflow;
this._textScaleFactor = textScaleFactor;
this._maxLines = maxLines;
this._semanticsLabel = semanticsLabel;
this._textWidthBasis = textWidthBasis;
this._textHeightBehavior = textHeightBehavior;
return this;
}