set method

NikuText set({
  1. Color? color,
  2. Color? backgroundColor,
  3. double? fontSize,
  4. FontWeight? fontWeight,
  5. FontStyle? fontStyle,
  6. double? letterSpacing,
  7. double? wordSpacing,
  8. TextAlign? textAlign,
  9. double? height,
  10. Paint? foreground,
  11. Paint? background,
  12. List<Shadow>? shadows,
  13. List<FontFeature>? fontFeatures,
  14. TextDecoration? textDecoration,
  15. Color? textDecorationColor,
  16. double? textDecorationThickness,
  17. String? fontFamily,
  18. List<String>? fontFamilyFallback,
  19. TextBaseline? textBaseline,
  20. TextDirection? textDirection,
  21. Locale? locale,
  22. bool? softWrap,
  23. TextOverflow? overflow,
  24. double? textScaleFactor,
  25. int? maxLines,
  26. String? semanticsLabel,
  27. TextWidthBasis? textWidthBasis,
  28. 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;
}