FontAddedWidget constructor

FontAddedWidget({
  1. Key? key,
  2. required GlobalKey<State<StatefulWidget>> stickerKey,
  3. required String text,
  4. String? font = '',
  5. double? opacity = 1.0,
  6. String? color,
  7. bool? bold = false,
  8. bool? italic = false,
  9. bool? underline = false,
  10. TextAlign? textAlign = TextAlign.left,
  11. double? worldSpace = 1.0,
  12. double? lineSpace = 1.0,
})

Implementation

FontAddedWidget(
    {super.key,
    required this.stickerKey,
    required this.text,
    this.font = '',
    this.opacity = 1.0,
    this.color,
    this.bold = false,
    this.italic = false,
    this.underline = false,
    this.textAlign = TextAlign.left,
    this.worldSpace = 1.0,
    this.lineSpace = 1.0});