Last updated:
0 purchases
findo
Findo will provide debounce features for your searching operations. While user writing anything in findofield, it doesn't send directly. This field wait to break the users writing.(This component default time 300ms but if you want custom duration, you can declare at the constructor)
Features #
Debounce - Cancalable #
Moslty using text field for searching but if you use directly TextField with onChange, it'll make more resource using so you can just say how often do you wan to use it then findo returns to result for your time.
FindoField(duration: Duration(seconds: 100), onChanged: .. ),
copied to clipboard
Getting started #
I've used only async package for tihs library.
Usage #
void _fetchSearch(String value) {
// It'll be called every 300 seconds
_samples.where((element) => element.contains(value));
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: FindoField(
duration: Duration(seconds: 100),
onChanged: (value) {
_fetchSearch(value);
},
),
),
);
}
copied to clipboard
Additional information #
That's package pretty small but more important solutions. Do you want to add fixes, features or etc., you can always send P.R and i'll lovely to checking.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.