我不确定如何描述它,但是我想要实现的目标是:
这是我到目前为止尝试过的:
Text(
"text",
style: TextStyle(decoration: TextDecoration.underline),
)
谢谢!
答案 0 :(得分:1)
也许是这样的:
Row(
children: <Widget>[
Expanded(child: Container(height: 1.0, color: Colors.black, margin: EdgeInsets.symmetric(horizontal: 4.0),)),
Text('Hello world'),
Expanded(child: Container(height: 1.0, color: Colors.black, margin: EdgeInsets.symmetric(horizontal: 4.0),)),
],
),