FText constructor

const FText(
  1. String text, {
  2. Key? key,
  3. TextStyle style = const TextStyle(),
  4. TextStyle? customStyle,
  5. TextAlign? textAlign,
  6. Color color = FColors.apieBusiness,
  7. TextOverflow overflow = TextOverflow.clip,
  8. TextStyle? customStyle1,
  9. TextStyle? customStyle2,
})

Implementation

const FText(this.text,
    {super.key,
    this.style = const TextStyle(),
    this.customStyle,
    this.textAlign,
    this.color = FColors.apieBusiness,
    this.overflow = TextOverflow.clip,
    this.customStyle1,
    this.customStyle2});