StrutStyle constructor Null safety

const StrutStyle(
  1. {String? fontFamily,
  2. List<String>? fontFamilyFallback,
  3. double? fontSize,
  4. double? height,
  5. TextLeadingDistribution? leadingDistribution,
  6. double? leading,
  7. FontWeight? fontWeight,
  8. FontStyle? fontStyle,
  9. bool? forceStrutHeight,
  10. String? debugLabel,
  11. String? package}
)

Implementation

const factory StrutStyle({
  String? fontFamily,
  List<String>? fontFamilyFallback,
  double? fontSize,
  double? height,
  TextLeadingDistribution? leadingDistribution,
  double? leading,
  FontWeight? fontWeight,
  FontStyle? fontStyle,
  bool? forceStrutHeight,
  String? debugLabel,
  String? package,
}) = _StrutStyle;