i got this warning message while i am using StreamSubscription .
Cancel instances of dart.async.StreamSubscription.
even though i do cancel it !!
i find similar question here Dart/WebStorm "Cancel instances of dart.async.StreamSubscription"
the answer was add a comment // ignore: cancel_subscriptions the line before or at the end of the line that shows the warning
but i don't think it is good idea to solve an issue by ignoring it special if it was sensitive or causing memory leak such in my case with stream subscriptions
Note i got this warning when i updated to latest classpath 'com.android.tools.build:gradle:7.1.2'
