RenderFluentParagraph constructor

RenderFluentParagraph({
  1. required InlineContainerNode container,
  2. required ParagraphRegistry registry,
  3. double lineHeight = 1.15,
  4. TextAlign textAlign = TextAlign.left,
  5. bool shrinkWrap = false,
  6. ParagraphStyle? paragraphStyle,
  7. Color defaultTextColor = const Color(0xFF000000),
  8. Color cursorColor = const Color(0xFF2196F3),
  9. Color selectionColor = const Color(0xFF64B5F6),
  10. 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);