AnalogIO / coffeecard_app

Cross-platform coffee card app for Cafe Analog
https://www.cafeanalog.dk/app
MIT License
6 stars 1 forks source link

'Hero Widget' Exception is thrown when using ticket #466

Closed fremartini closed 1 year ago

fremartini commented 1 year ago

When using a ticket, the Hero widget causes an exception to be thrown:

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════ The following assertion was thrown during a scheduler callback: There are multiple heroes that share the same tag within a subtree. Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree), each Hero must have a unique non-null tag. In this case, multiple heroes had the following tag: 1 ├# Here is the subtree for one of the offending heroes: Hero

marfavi commented 1 year ago

Cannot reproduce/works on my machine. Are you using Flutter 3.10.0?

Try showing the output of running flutter doctor.

fremartini commented 1 year ago

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.10.1, on Pop!_OS 22.04 LTS 6.2.6-76060206-generic, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.78.0) [✓] Connected device (1 available) [✓] Network resources

marfavi commented 1 year ago

Can you run flutter downgrade 3.10.0 and see if you can still reproduce the issue?