only method
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,
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,
),
);
}