RenderFluentParagraph constructor
RenderFluentParagraph({
- required InlineContainerNode container,
- required ParagraphRegistry registry,
- double lineHeight = 1.15,
- TextAlign textAlign = TextAlign.left,
- bool shrinkWrap = false,
- ParagraphStyle? paragraphStyle,
- Color defaultTextColor = const Color(0xFF000000),
- Color cursorColor = const Color(0xFF2196F3),
- Color selectionColor = const Color(0xFF64B5F6),
- Color linkColor = const Color(0xFF2196F3),
Implementation
RenderFluentParagraph({
required InlineContainerNode container,
required this.registry,
double lineHeight = 1.15,
TextAlign textAlign = TextAlign.left,
bool shrinkWrap = false,
ParagraphStyle? paragraphStyle,
Color defaultTextColor = const Color(0xFF000000),
Color cursorColor = const Color(0xFF2196F3),
Color selectionColor = const Color(0xFF64B5F6),
Color linkColor = const Color(0xFF2196F3),
}) : _lineHeight = lineHeight,
_textAlign = textAlign,
_container = container,
_shrinkWrap = shrinkWrap,
_paragraphStyle = paragraphStyle,
_defaultTextColor = defaultTextColor,
_cursorColor = cursorColor,
_selectionColor = selectionColor,
_linkColor = linkColor,
super(node: container as FNode);