callback_controller 0.0.3
callback_controller: ^0.0.3 copied to clipboard
Controls the call frequency of a callback and exposes a stream that emits the controller state.
Callback Controller Example #
Usage #
To use this library include callback_controller
as a dependency in your pubspec.yaml
file.
CallbackController
exposes a stream emitting events of
type CallbackControllerState
.
The stream can be used
with Flutter's StreamBuilder to create responsive widgets. For example, a
button could be styled differently if the current callback controller state is
ready, busy, or delaying.
Features and bugs #
Please file feature requests and bugs at the issue tracker.