This is memory leaking application to test memory debugging tools.
Setup the lab:
a. Start the latest version of DevTools by following BETA_TESTING.md
b. in another console tabs navigate to the DevTools directory (cd devtools) and start the app:
cd case_study/memory_leaks/leaking_counter_1 flutter run -d macos --profile
c. Copy the Observatory URL displayed in the console to the connection box in DevTools
Solve the puzzle:
Users report the app consumes more and more memory with every button click. Your task is to fix the leak using the tab Memory > Diff, assuming the application is too large to find the issue by simply reviewing the code of the button handler.