fCount

A Dart equivalent for console.count() in JavaScript. You can learn how it works on the web in the MDN docs

Available on pub.dev 🚀🚀

But why

Using console.count() is a very handy way to check for unwanted renders in web projects. This is very useful for any kind of reactive framework.

How to use it

Place fCount(*label_name*) inside any build function and check the logs. Every time the function is called, log prints the total no of times it has been executed. https://user-images.githubusercontent.com/13520364/181412051-98d29a3a-45ab-473c-8768-c4821a670b69.mov

Libraries

f_count