问题:我有一个包含3个页面的PageView : P1,P2,P3。当我在P3 (或P2)上打开一个额外的页面,然后关闭这个额外的页面时,PageView重新构建,但将P3放在page.The的第一个新的断开页面顺序是P3,P2,P3。 如果排除if (_page !the page is included in the page view behavior: CustomScrollBehaviour(),
child: PageView.builder
我一直在使用PageView,它可以解决这个问题,但是我很难找到如何指示PageView的终结。现在,它将允许滚动永远继续。在这里,一些示例打印语句展示了我的意思:flutter: Group instance Section 2flutter: Building pageview, current index: 2flutte