flutter 实现文本自动换行
Widget dynamicTxtSection = Container(margin: const EdgeInsets.only(left:16.0,right: 100.0),child: const Flexible(child: SelectableText.rich(TextSpan(children: [TextSpan(text:...
·
Widget dynamicTxtSection = Container(
margin: const EdgeInsets.only(left:16.0,right: 100.0),
child: const Flexible(
child: SelectableText.rich(
TextSpan(
children: [
TextSpan(
text:
"sfwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"),
],
),
)));
更多推荐
已为社区贡献68条内容
所有评论(0)