FontPreView constructor
FontPreView({
- Key? key,
- required Widget bgChild,
- required double stvWidth,
- required double stvHeight,
- required dynamic onInited(
- LindiController stickerController
- required dynamic onClose(),
- required String content,
- String? font = '',
- double? opacity = 1.0,
- String? color,
- TextAlign? textAlign = TextAlign.left,
- bool? bold = false,
- bool? italic = false,
- bool? underline = false,
- double? worldSpace = 1.0,
- double? lineSpace = 1.0,
- dynamic onInputContent()?,
Implementation
FontPreView(
{super.key,
required this.bgChild,
required this.stvWidth,
required this.stvHeight,
required this.onInited,
required this.onClose,
required this.content,
this.font = '',
this.opacity = 1.0,
this.color,
this.textAlign = TextAlign.left,
this.bold = false,
this.italic = false,
this.underline = false,
this.worldSpace = 1.0,
this.lineSpace = 1.0,
this.onInputContent});