tcard
tcard copied to clipboard
当子组件是 StatefulWidget时 滑动时 第一张会自动弹回来
List<Widget> cards = List.generate( colors.length, (int index) { return TestPage(colors[index]); }, );
class TestPage extends StatefulWidget { Color color; @override TestPageState createState() => new TestPageState(color);
TestPage(this.color); }
class TestPageState extends State<TestPage> { Color color; TestPageState(this.color); @override Widget build(BuildContext context) { return Container( alignment: Alignment.center, decoration: BoxDecoration( color: color, ), ); } }
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.61. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
麻烦看下 这个问题 在线等 挺急的。。。
麻烦看下 这个问题 在线等 挺急的。。。
哈哈,我看看
麻烦看下 这个问题 在线等 挺急的。。。
哈哈,我看看
用 DartPad 弄不出来呢...等我回去用我自己的电脑看看吧 (>人<;)
麻烦看下 这个问题 在线等 挺急的。。。
哈哈,我看看
用 DartPad 弄不出来呢...等我回去用我自己的电脑看看吧 (>人<;)
好的 谢谢
这个问题解决了吗? 现在还依然存在啊。