Releases: Yama-Roni/any_refreshable_widget
Releases · Yama-Roni/any_refreshable_widget
v0.2.0
0.2.0
- Controller support - Added
AnyRefreshableControllerfor programmatic refresh triggering - Enhanced API - Both
AnyRefreshableWidgetandAnyRefreshableWidget.singlenow accept optional controller parameter - Programmatic refresh - Trigger refresh operations from anywhere in your code
- Controller state management - Access refresh state and errors through the controller
- Example updates - Added comprehensive controller usage example in the example app
v0.1.1
0.1.1
- Custom indicator improvements - Fixed custom indicator display by replacing deprecated
RefreshIndicator.noSpinnerwith transparent styling approach (support much more version of flutter & dart) - Version requirements update - Updated minimum SDK version to 2.19.0 and Flutter version to 3.7.0 for better compatibility
v0.1.0
0.1.0
- Lifecycle callbacks - Added
onBeforeRefreshandonAfterRefreshcallbacks with flexible sync/async support - Concurrency control - Added
RefreshConcurrencyenum to control future execution (sequential/concurrent) - Sequential execution - New option to execute multiple futures one after another (now default behavior)
- Enhanced documentation - Comprehensive examples for lifecycle callbacks and concurrency modes
- Improved examples - Updated example app with better UI and clearer demonstrations
v0.0.2
0.0.2
- Improved compatibility - Updated SDK constraint to support broader range of Dart versions (>=2.17.0 <4.0.0)
- Flutter version update - Updated minimum Flutter version requirement to 3.0.0 for better stability
- Example project updates - Synchronized version constraints across main package and example project
v0.0.1
0.0.1
- Initial release - A comprehensive Flutter widget that provides pull-to-refresh functionality for any content
- Multi-future support - Handle multiple asynchronous operations concurrently with a single refresh action
- Universal compatibility - Works with any widget type (ScrollView, non-scrollable content, custom widgets)
- Smart scrollable detection - Automatically wraps non-scrollable content to enable pull-to-refresh
- Customizable refresh indicator - Support for custom colors, background, displacement, and stroke width
- Custom indicator widget - Option to provide completely custom refresh indicator instead of default
- Adaptive design - Uses platform-appropriate refresh indicators (iOS/Android)
- Loading state management - Built-in loading and error state handling with reactive notifications
- Flexible notification handling - Customizable scroll notification predicates for refresh triggering
- Two widget variants - Main
AnyRefreshableWidgetfor multiple futures andAnyRefreshableWidget.singlefor single operations - Error handling - Captures and exposes the first error encountered during refresh operations
- Animation support - Smooth animations for custom indicators with built-in animation controller