Paragraph constructor

const Paragraph({
  1. String type = "",
  2. String rawContent = "",
  3. List<TextSpan> textSpans = const [],
  4. String imageUri = "",
  5. String jwMediaId = "",
  6. String youtubeVideoId = "",
  7. String soundcloudTrackId = "",
  8. String soudcloudEmbedCode = "",
  9. String hearthisAtTrackId = "",
  10. String fontFamily = "",
  11. TextAlign textAlign = TextAlign.left,
  12. SimpleArticle pdf = const SimpleArticle(),
})

Implementation

const Paragraph(
    {this.type = "",
    this.rawContent = "",
    this.textSpans = const [],
    this.imageUri = "",
    this.jwMediaId = "",
    this.youtubeVideoId = "",
    this.soundcloudTrackId = "",
    this.soudcloudEmbedCode = "",
    this.hearthisAtTrackId = "",
    this.fontFamily = "",
    this.textAlign = TextAlign.left,
    this.pdf = const SimpleArticle()});