flutter_easy_refresh icon indicating copy to clipboard operation
flutter_easy_refresh copied to clipboard

Duplicate keys found.

Open askankit opened this issue 2 years ago • 6 comments

The following assertion was thrown building AnimatedSwitcher(duration: 300ms, reverseDuration: 100ms, state: _AnimatedSwitcherState#5f3f7(tickers: tracking 3 tickers)): Duplicate keys found.

Please share solution.

askankit avatar May 10 '23 12:05 askankit

Please provide code to reproduce

xuelongqy avatar May 11 '23 02:05 xuelongqy

I can't run the code you provided. You can try to simplify your business code, make it runnable and reproducible. This is conducive to troubleshooting, instead of using intuition to judge by reviewing the code.

xuelongqy avatar May 12 '23 01:05 xuelongqy

======== Exception caught by widgets library ======================================================= The following assertion was thrown building AnimatedSwitcher(duration: 300ms, reverseDuration: 100ms, state: _AnimatedSwitcherState#da2af(tickers: tracking 3 tickers)): Duplicate keys found.

If multiple keyed widgets exist as children of another widget, they must have unique keys. Stack(alignment: Alignment.center, fit: loose) has multiple children with key [<[<[<'indicator'>]>]>]. The relevant error-causing widget was: EasyRefresh EasyRefresh:file:///

Insist-g avatar Jul 26 '23 03:07 Insist-g

I find the reason may be footer CupertinoFooter's problem

Insist-g avatar Jul 26 '23 03:07 Insist-g

So did I

XiaoWei3209 avatar Sep 01 '23 03:09 XiaoWei3209

======== Exception caught by widgets library ======================================================= The following assertion was thrown building AnimatedSwitcher(duration: 300ms, reverseDuration: 100ms, state: _AnimatedSwitcherState#da2af(tickers: tracking 3 tickers)): Duplicate keys found.

If multiple keyed widgets exist as children of another widget, they must have unique keys. Stack(alignment: Alignment.center, fit: loose) has multiple children with key [<[<[<'indicator'>]>]>]. The relevant error-causing widget was: EasyRefresh EasyRefresh:file:///

I have the same issue. Using CupertinoFooter()

chueikan avatar Sep 12 '23 16:09 chueikan