karvulf / flutter-reorderable-grid-view

BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

I have created three pages, but only the first one is working fine, the others are not. Each page uses the ReorderableBuilder and the key is unique. Only the first page dragging and dropping works fine, the remaining two pages don't work. #144

Open JieNengi opened 2 hours ago

JieNengi commented 2 hours ago

I have created three pages, but only the first one is working fine, the others are not. Each page uses the ReorderableBuilder and the key is unique. Only the first page dragging and dropping works fine, the remaining two pages don't work.

PageView.builder(
                controller: navPageController,
                onPageChanged: (value) {
                  navIndex.value = value;
                },
                itemCount: navIconWidget.length,
                itemBuilder: (itemBuilder, index) =>
                    navIconWidget[index]['page'])
karvulf commented 1 hour ago

Hello @JieNengi

Did you check the example using a PageView? Probably that can solve your issue. Otherwise it would be nice if you can give me a example code to reproduce the issue.