Paragraph.quote constructor

Paragraph.quote(
  1. String rawContent,
  2. List<TextSpan> textSpans,
  3. String fontFamily,
  4. TextAlign textAlign,
)

Implementation

factory Paragraph.quote(String rawContent, List<TextSpan> textSpans,
    String fontFamily, TextAlign textAlign) {
  return Paragraph(
      type: "quote",
      rawContent: rawContent,
      textSpans: textSpans,
      imageUri: "",
      jwMediaId: "",
      youtubeVideoId: "",
      soundcloudTrackId: "",
      soudcloudEmbedCode: "",
      hearthisAtTrackId: "",
      fontFamily: fontFamily,
      textAlign: textAlign);
}