tcard icon indicating copy to clipboard operation
tcard copied to clipboard

当子组件是 StatefulWidget时 滑动时 第一张会自动弹回来

Open yuantanglong opened this issue 4 years ago • 6 comments

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, ), ); } }

yuantanglong avatar Sep 02 '20 11:09 yuantanglong

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.

issue-label-bot[bot] avatar Sep 02 '20 11:09 issue-label-bot[bot]

麻烦看下 这个问题 在线等 挺急的。。。

yuantanglong avatar Sep 04 '20 06:09 yuantanglong

麻烦看下 这个问题 在线等 挺急的。。。

哈哈,我看看

xrr2016 avatar Sep 04 '20 06:09 xrr2016

麻烦看下 这个问题 在线等 挺急的。。。

哈哈,我看看

用 DartPad 弄不出来呢...等我回去用我自己的电脑看看吧 (>人<;)

xrr2016 avatar Sep 04 '20 06:09 xrr2016

麻烦看下 这个问题 在线等 挺急的。。。

哈哈,我看看

用 DartPad 弄不出来呢...等我回去用我自己的电脑看看吧 (>人<;)

好的 谢谢

yuantanglong avatar Sep 04 '20 06:09 yuantanglong

这个问题解决了吗? 现在还依然存在啊。

Wing-Li avatar Mar 11 '21 08:03 Wing-Li