debounce_widget 1.0.0 copy "debounce_widget: ^1.0.0" to clipboard
debounce_widget: ^1.0.0 copied to clipboard

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
30
pub points
0%
popularity

Publisher

unverified uploader

A package for debouncing callbacks for certain amount of time.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on debounce_widget