only method

  1. @override
T only({
  1. TextOverflow? overflow,
  2. StrutStyleDto? strutStyle,
  3. TextAlign? textAlign,
  4. double? textScaleFactor,
  5. int? maxLines,
  6. TextStyleDto? style,
  7. TextWidthBasis? textWidthBasis,
  8. TextHeightBehavior? textHeightBehavior,
  9. TextDirection? textDirection,
  10. bool? softWrap,
  11. TextDirective? directive,
  12. AnimatedDataDto? animated,
})
override

Implementation

@override
T only({
  TextOverflow? overflow,
  StrutStyleDto? strutStyle,
  TextAlign? textAlign,
  double? textScaleFactor,
  int? maxLines,
  TextStyleDto? style,
  TextWidthBasis? textWidthBasis,
  TextHeightBehavior? textHeightBehavior,
  TextDirection? textDirection,
  bool? softWrap,
  TextDirective? directive,
  AnimatedDataDto? animated,
}) {
  return builder(
    TextSpecAttribute(
      overflow: overflow,
      strutStyle: strutStyle,
      textAlign: textAlign,
      textScaleFactor: textScaleFactor,
      maxLines: maxLines,
      style: style,
      textWidthBasis: textWidthBasis,
      textHeightBehavior: textHeightBehavior,
      textDirection: textDirection,
      softWrap: softWrap,
      directive: directive,
      animated: animated,
    ),
  );
}