CustomText.headingLarge constructor

CustomText.headingLarge(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. double? fontSize,
  5. double increamentFontSize = 0,
  6. FontStyle? fontStyle,
  7. FontWeight? fontWeight,
  8. String? fontFamily,
  9. Color? color,
  10. Color? backgroundColor,
  11. double? height,
  12. int? maxLines,
  13. TextOverflow? overflow,
  14. TextDirection? textDirection,
  15. TextAlign? textAlign,
  16. TextDecoration? decoration,
  17. double? decorationThickness,
  18. TextDecorationStyle? decorationStyle,
  19. Paint? backgroundPaint,
  20. Paint? foregroundPaint,
  21. String? debugLabel,
  22. bool? inherit,
  23. List<String>? fontFamilyFallback,
  24. List<FontFeature>? fontFeatures,
  25. List<FontVariation>? fontVariations,
  26. TextLeadingDistribution? leadingDistribution,
  27. double? letterSpacing,
  28. Locale? locale,
  29. String? package,
  30. List<Shadow>? shadows,
  31. TextBaseline? textBaseline,
  32. double? wordSpacing,
})

this is the constructor of headingLarge

Implementation

CustomText.headingLarge(
  this.text, {
  super.key,
  TextStyle? style,
  this.fontSize,
  this.increamentFontSize = 0,
  this.fontStyle,
  this.fontWeight,
  this.fontFamily,
  this.color,
  this.backgroundColor,
  this.height,
  this.maxLines,
  this.overflow,
  this.textDirection,
  this.textAlign,
  this.decoration,
  this.decorationThickness,
  this.decorationStyle,
  this.backgroundPaint,
  this.foregroundPaint,
  this.debugLabel,
  this.inherit,
  this.fontFamilyFallback,
  this.fontFeatures,
  this.fontVariations,
  this.leadingDistribution,
  this.letterSpacing,
  this.locale,
  this.package,
  this.shadows,
  this.textBaseline,
  this.wordSpacing,
}) : style = style ?? CustomTextStyle.headingLarge;