debounce_widget 1.0.0
debounce_widget: ^1.0.0

Flutter Android iOS web

A package for debouncing callbacks for certain amount of time.

debounce_widget #

A package for debouncing callbacks for certain amount of time.

Installation #

debounce_widget:1.0.0

Import #

import 'package:debounce_widget/debounce_widget.dart';

Usage #


DebounceWidget(
  debouncer: Debouncer(Duration(milliseconds: 500)),
  builder: (context, debouncer) => TextField(
    onChanged: (text) async {
      if (await debouncer.wait) contrller.add(text);
    },
  ),
),

0
likes
90
pub points
11%
popularity

A package for debouncing callbacks for certain amount of time.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

dhavalpatel32768@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on debounce_widget