futureRebuildDuration property

Duration? futureRebuildDuration
final

The rebuild delay for the future computation.

If unset, the delay will be instant, meaning that future will be re-run immediately upon any change to the textController.

You can set a rebuild delay to avoid excessive calls to future while the user is typing. For example, if you set a delay of 500 milliseconds, future will only be re-run 500 milliseconds after the user stops typing.

Implementation

final Duration? futureRebuildDuration;