Bos*_*rot 9

您可以为此使用flutter_html_view包。

String html = '<bold>Hello<bold> World';

new HtmlTextView(data: html);

如果你只是想不同的风格,你可以使用一个RichText小部件,TextSpans这样

new RichText( text: new TextSpan(text: 'Hello ', style: DefaultTextStyle.of(context).style, children:          
<TextSpan>[
new TextSpan(text: 'bold', style: new TextStyle(fontWeight: FontWeight.bold)), 
new TextSpan(text: ' world!'), 
], ), )
Run Code Online (Sandbox Code Playgroud)