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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add f_count

With Flutter:

 $ flutter pub add f_count

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  f_count: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:f_count/f_count.dart';
6
likes
160
pub points
61%
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