flutter_riverpod 1.0.0 prevents app from running in Chrome in debug mode

Question

Asked by Dean V on November 10, 2021 (source).

Hi ran into this issue when I upgraded to flutter_riverpod 1.0.0 then saw this issue raised in the riverpod repo

flutter_riverpod 1.0.0 ~Issue

Then I saw that the owner of the repo closed the discussion about this leaving me clueless where to go next...

Will appreciate any help that I can get!!

Answer

Question answered by jvincek (source).

The issue is in dart sdk, not riverpod. You should track (and upvote so it hopefully gets prioritized) the linked dart sdk ticket for this, which should resolve it when it's fixed.

FLUTTER FLUTTER-WEB RIVERPOD
SHARE: