I used wordpress v2 api, and I want to see a few lines article content before seeing all detail.
However,When I use substring method and cut the data, the html code is broken and the div-css appears.
This is blog box, I mean, I want the text below not to overflow, I can't cut it like text because I use it in the html widget.
Container(
height: 100,
child: HtmlWidget( article.content ,
bodyPadding: EdgeInsets.zero,
textStyle: GoogleFonts.nunito(textStyle: utils.ThemeText.relatedArticleTitle,fontStyle: FontStyle.normal,),
),
),
How can I see a few lines of data using html widgets.
Thank you from now.
