如何在 Flutter 中绘制这条线?

How to Draw this line in Flutter?

如何在Flutter中绘制这条线?你有什么建议吗?

很简单,使用DividerVerticalDivider

Column(children: [
  Divider(),
  Row(
      children: [
        Widget()...,
        VerticalDivider(),
        Widget()...
      ]
    )
])

试试下面的代码希望对你有帮助。

   Card(
            child: Column(
              children: [
                Container(
                  height: 200,
                  child: Center(
                    child: Text(
                      'Your other Widget',
                    ),
                  ),
                ),
                Container(
                  color: Colors.black,
                  height: 1,
                  width: double.infinity,
                ),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceAround,
                  children: [
                    Text(
                      'Your Widget',
                    ),
                    Container(
                      color: Colors.black,
                      height: 50,
                      width: 1,
                    ),
                    Text(
                      'Your Widget',
                    ),
                  ],
                ),
              ],
            ),
          ),

您的结果屏幕->