【发布时间】:2020-02-11 09:16:38
【问题描述】:
我想在正文中使用Marquee,但它显示一个错误,它没有在MyApp 类中定义
body: Center(
child: Row (
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget> [
Marquee (
child: Text('hello world!',
style: TextStyle (
color: Colors.blueAccent,
fontWeight: FontWeight.w500,
fontSize: 40)
)
),
],
),
),
如何在体内使用Marquee?
【问题讨论】: