使用
HTML我可以将一个项目符号添加到这样的段落:
<ul> <li> example </li> <li> example </li> <li> example </li> <ul>
如何在Flutter中编写项目符号表格?
new Text(''),
解决方法
我最好使用utf-code.对于列表,我认为更舒适将是这样的:
class DottedText extends Text { const DottedText(String data,{ Key key,TextStyle style,TextAlign textAlign,TextDirection textDirection,Locale locale,bool softWrap,TextOverflow overflow,double textScaleFactor,int maxLines,String semanticsLabel,}) : super( '\u2022 $data',key: key,style: style,textAlign: textAlign,textDirection: textDirection,locale: locale,softWrap: softWrap,overflow: overflow,textScaleFactor: textScaleFactor,maxLines: maxLines,semanticsLabel: semanticsLabel,); }