颤振行中不显示任何内容

时间:2020-03-02 10:03:49

标签: android-studio flutter row

[错误] [1]早上好,
我是Flutter的初学者
我遇到问题了
不显示任何内容
当我用 Column 替换 Row 时,一切顺利

谢谢您的帮助

      child: Container(
        alignment: Alignment.center,
        color: Colors.yellow,
        child: Row(
          children: <Widget>[
            Text(
              "Element 1",
              textDirection: TextDirection.ltr,
              style: TextStyle(
                color: Colors.black,
                fontSize: 70,
                fontFamily: "DancingScript",
                fontWeight: FontWeight.w700
              )
            )
          ],
        ),
      )
    );


  [1]: https://i.stack.imgur.com/LtrEC.png

0 个答案:

没有答案