Open askankit opened 1 year ago
Please provide code to reproduce
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.
======== 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 find the reason may be footer CupertinoFooter's problem
So did I
======== 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()
The following assertion was thrown building AnimatedSwitcher(duration: 300ms, reverseDuration: 100ms, state: _AnimatedSwitcherState#5f3f7(tickers: tracking 3 tickers)): Duplicate keys found.
Please share solution.