WPContent constructor

const WPContent(
  1. String rawWPContent, {
  2. TextDirection textDirection = TextDirection.ltr,
  3. Color headingTextColor = Colors.black,
  4. Color paragraphTextColor = Colors.black,
  5. Color imageCaptionTextColor = Colors.black,
  6. String fontFamily = '',
  7. double fontSize = 16.0,
  8. String paragraphArabicIdentifier = "",
  9. String arabicFontFamily = '',
  10. TextAlign defaultParagraphTextAlign = TextAlign.justify,
  11. TextAlign quoteTextAlignment = TextAlign.center,
  12. Color quoteTextColour = Colors.black,
  13. YouTubeWidget youtubeEmbedWidget = const YouTubeWidget(),
  14. SoundCloudWidget soundcloudEmbedWidget = const SoundCloudWidget(),
  15. HearthisAtWidget hearthisAtWidget = const HearthisAtWidget(),
  16. IssuuWidget issuuEmbedWidget = const IssuuWidget(),
  17. JWPlayerWidget jwPlayerWidget = const JWPlayerWidget(),
})

Implementation

const WPContent(this.rawWPContent,
    {this.textDirection = TextDirection.ltr,
    this.headingTextColor = Colors.black,
    this.paragraphTextColor = Colors.black,
    this.imageCaptionTextColor = Colors.black,
    this.fontFamily = '',
    this.fontSize = 16.0,
    this.paragraphArabicIdentifier = "",
    this.arabicFontFamily = '',
    this.defaultParagraphTextAlign = TextAlign.justify,
    this.quoteTextAlignment = TextAlign.center,
    this.quoteTextColour = Colors.black,
    this.youtubeEmbedWidget = const YouTubeWidget(),
    this.soundcloudEmbedWidget = const SoundCloudWidget(),
    this.hearthisAtWidget = const HearthisAtWidget(),
    this.issuuEmbedWidget = const IssuuWidget(),
    this.jwPlayerWidget = const JWPlayerWidget()});