TextConfig constructor

const TextConfig(
  1. String text,
  2. double xAnchorMultiplier,
  3. String? fontFamily,
  4. FontWeight fontWeight,
  5. double fontSize,
  6. TextDecoration decoration,
  7. TextDecorationStyle decorationStyle,
  8. Color decorationColor,
)

Create a new TextStyle object.

Implementation

const TextConfig(
  this.text,
  this.xAnchorMultiplier,
  this.fontFamily,
  this.fontWeight,
  this.fontSize,
  this.decoration,
  this.decorationStyle,
  this.decorationColor,
);