f_count 0.2.0 copy "f_count: ^0.2.0" to clipboard
f_count: ^0.2.0 copied to clipboard

A dart equivalent of console.count() in JS. This can be used to check for unwanted re-renders inside the build method of a widget

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.

output

5
likes
140
pub points
63%
popularity

Publisher

verified publisherchinmaykabi.com

A dart equivalent of console.count() in JS. This can be used to check for unwanted re-renders inside the build method of a widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

crypto, stack_trace

More

Packages that depend on f_count