WPContent constructor
const
WPContent(
- String rawWPContent, {
- TextDirection textDirection = TextDirection.ltr,
- Color headingTextColor = Colors.black,
- Color paragraphTextColor = Colors.black,
- Color imageCaptionTextColor = Colors.black,
- String fontFamily = '',
- double fontSize = 16.0,
- String paragraphArabicIdentifier = "",
- String arabicFontFamily = '',
- TextAlign defaultParagraphTextAlign = TextAlign.justify,
- TextAlign quoteTextAlignment = TextAlign.center,
- Color quoteTextColour = Colors.black,
- YouTubeWidget youtubeEmbedWidget = const YouTubeWidget(),
- SoundCloudWidget soundcloudEmbedWidget = const SoundCloudWidget(),
- HearthisAtWidget hearthisAtWidget = const HearthisAtWidget(),
- IssuuWidget issuuEmbedWidget = const IssuuWidget(),
- 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()});