only method

  1. @override
T only({
  1. String? fontFamily,
  2. List<String>? fontFamilyFallback,
  3. double? fontSize,
  4. FontWeight? fontWeight,
  5. FontStyle? fontStyle,
  6. double? height,
  7. double? leading,
  8. 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,
    ),
  );
}