如何在 Flutter 中将文本小部件并排包装

How to Wrap text widgets next to each other in Flutter

中间的每个数字代表一个新小部件的开始。这在 Flutter 中可能吗?

是的,在 flutter 中是可能的 你可以使用 Wrap widget

Wrap(
  children: <Widget>[
    Text('Text 1'),
    Text('Text 2'),
    Text('Text 3')
  ],
)

试试这个兄弟

Text.rich(TextSpan(children: [
  TextSpan(
     text: "... ١",
     recognizer: TapGestureRecognizer()
        ..onTap = () {}
  ),
  TextSpan(
     text: "... ٢",
     recognizer: TapGestureRecognizer()
        ..onTap = () {}
  ),
]), style: TextStyle(
  // ...
),)