EmergentTextStyle constructor

EmergentTextStyle({
  1. bool inherit = true,
  2. double? fontSize,
  3. FontWeight? fontWeight,
  4. FontStyle? fontStyle,
  5. double? letterSpacing,
  6. double? wordSpacing,
  7. TextBaseline? textBaseline,
  8. double? height,
  9. Locale? locale,
  10. List<FontFeature>? fontFeatures,
  11. TextDecoration? decoration,
  12. String? debugLabel,
  13. String? fontFamily,
  14. List<String>? fontFamilyFallback,
  15. String? package,
})

Creates a text style.

The package argument must be non-null if the font family is defined in a package. It is combined with the fontFamily argument to set the fontFamily property.

Implementation

EmergentTextStyle({
  this.inherit = true,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.letterSpacing,
  this.wordSpacing,
  this.textBaseline,
  this.height,
  this.locale,
  this.fontFeatures,
  this.decoration,
  this.debugLabel,
  this.fontFamily,
  //this.color,
  //this.backgroundColor,
  //this.foreground,
  //this.background,
  //this.decoration,
  //this.decorationColor,
  //this.decorationStyle,
  //this.decorationThickness,
  this.fontFamilyFallback,
  this.package,
});