polling_builder 0.1.0
polling_builder: ^0.1.0 copied to clipboard
A Flutter widget that polls data at regular intervals and when conditions are met, similar to StreamBuilder but for polling APIs.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-06-14 #
Added #
- Initial release of PollingBuilder widget
- Automatic polling at configurable intervals with
pollInterval
parameter - Conditional rebuilding with
buildWhen
parameter - Basic error propagation through StreamBuilder
- Automatic timer cleanup on widget disposal
- Support for initial data with
initialData
parameter - Optional auto-start control with
autoStart
parameter - StreamBuilder-like API for familiar developer experience
- Generic type support for any data type