FXText constructor

const FXText(
  1. String data, {
  2. Key? key,
  3. String? fontFamily,
  4. double? size = fontSizeS,
  5. Color? color = Colors.black,
  6. TextAlign? align = TextAlign.left,
  7. FontWeight? weight = FontWeight.normal,
  8. TextDecoration? underline = TextDecoration.none,
  9. TextOverflow? overflow,
})

Implementation

const FXText(
    this.data, {
      Key? key,
      this.fontFamily,
      this.size = fontSizeS,
      this.color = Colors.black,
      this.align = TextAlign.left,
      this.weight = FontWeight.normal,
      this.underline = TextDecoration.none,
      this.overflow,
    }) : super(key: key);