only method
T
only({
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? height,
- double? leading,
- bool? forceStrutHeight,
override
Implementation
@override
T only({
String? fontFamily,
List<String>? fontFamilyFallback,
double? fontSize,
FontWeight? fontWeight,
FontStyle? fontStyle,
double? height,
double? leading,
bool? forceStrutHeight,
}) {
return builder(
StrutStyleDto(
fontFamily: fontFamily,
fontFamilyFallback: fontFamilyFallback,
fontSize: fontSize,
fontWeight: fontWeight,
fontStyle: fontStyle,
height: height,
leading: leading,
forceStrutHeight: forceStrutHeight,
),
);
}