debounce_builder

Creator: coderz1093

Last updated:

0 purchases

debounce_builder Image
debounce_builder Images

Languages

Categories

Add to Cart

Description:

debounce builder

Debounce builder, debounce timer
Features #

debounce builder - Widget provides debounce function from DebounceTimer instance
debounce timer - Provide call callback after delay duration

Getting started #
Add package to your project bash flutter pub add debounce_builder
Wrap your widget
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return DebounceBuilder(
delay: const Duration(milliseconds: 250),
builder: (context, debounce) {
return TextField(
onChanged: (value) => debounce(() => print(value)),
);
},
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.