How to debounce action in Flutter
Issue #293
Answer https://stackoverflow.com/a/55119208/1418457
This is useful to throttle TextField change event. You can make Debouncer class using Timer
1 | import 'package:flutter/foundation.dart'; |
Declare and trigger
1 | final _debouncer = Debouncer(milliseconds: 500); |