bloc_event_debouncer 0.0.1 copy "bloc_event_debouncer: ^0.0.1" to clipboard
bloc_event_debouncer: ^0.0.1 copied to clipboard

A tiny utility package that adds debounce and throttle support to your BLoC event handlers using clean EventTransformers.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bloc_event_debouncer

With Flutter:

 $ flutter pub add bloc_event_debouncer

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

dependencies:
  bloc_event_debouncer: ^0.0.1

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:bloc_event_debouncer/bloc_event_debouncer.dart';
1
likes
130
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A tiny utility package that adds debounce and throttle support to your BLoC event handlers using clean EventTransformers.

Topics

#bloc #throttle #debounce #eventtransformer #utilities

Documentation

API reference

License

MIT (license)

Dependencies

bloc, rxdart

More

Packages that depend on bloc_event_debouncer