Paragraph.withLine constructor

Paragraph.withLine()

Implementation

factory Paragraph.withLine() {
  return Paragraph(
    lines: <Line>[
      Line(
        fragments: [],
      ),
    ],
    type: ParagraphType.inline,
  );
}