StoryblokRichText constructor
StoryblokRichText({
- Key? key,
- required List<
RichTextContainer> content, - void onTapLink()?,
- required BlockBuilder blockBuilder,
- TextAlign textAlign = TextAlign.start,
- TextStyle textStyleOverrides()?,
Implementation
StoryblokRichText({
super.key,
required this.content,
void Function(Link)? onTapLink,
required BlockBuilder blockBuilder,
this.textAlign = TextAlign.start,
TextStyle Function(RichTextLeafMarkable)? textStyleOverrides,
}) : _contentData = _StoryblokRichTextContentData(
onTapLink: onTapLink,
buildBlok: blockBuilder,
textStyleOverrides: textStyleOverrides,
);