loading_state_handler 1.3.3
loading_state_handler: ^1.3.3 copied to clipboard
The StateHandlerWidget manages different UI states—loading, error, empty, and normal—allowing you to customize the displayed widgets for each state.
0.0.1 #
- Initial release.
0.0.2 #
- changed the description in
pubspec.yaml.
0.0.3 #
- Added: String error message support in
StateHandlerWidget. - Updated: Documentation to clarify widget behavior for loading, error, and empty states.
- Refined: Default builder functions for consistent styling across app states.
0.0.4 #
- Added: Example usage for better demonstration of widget functionality.
0.0.5 #
- Updated: Documentation to clarify widget behavior for loading, error, and empty states.
0.0.6 #
- Updated: Description in
pubspec.yaml.
1.0.0 #
- Added new feature to
StateHandlerWidget.
1.0.1 #
- Refined: Documentation to clarify widget behavior for loading, error, and empty states.
1.0.2 #
- Fixed: Issue with
onLoadingcallback inStateHandlerWidget.
1.0.3 #
- Updated: Default builder functions for consistent styling across app states.
1.0.4 #
- Updated: README to use the latest version of
loading_state_handler.
1.0.5 #
- Added: bool
disableWidgetChangesinStateHandlerWidget.
1.0.6 #
- Added:
disableEmptyWidgetChangesanddisableErrorWidgetChangescallback inStateHandlerWidget.
1.0.7 #
- Updated: README to use the latest version of
loading_state_handler.
1.0.8 #
- Fixed:
disableWidgetChangescallback inStateHandlerWidget.
1.0.9 #
- Added:
onDatacallback inStateHandlerWidget.
1.1.0 #
- Updated: README to use the latest version of
loading_state_handler.
1.1.1 #
- Fixed: Issue with
onDatacallback inStateHandlerWidget.
1.1.2 #
- Added:
BuildContextparameter inStateHandlerWidget.
1.2.0 #
New Features #
- Added: Retry mechanism with configurable cooldown
- Added: Global defaults configuration through
setDefaultsmethod - Added: Per-instance retry controls with visual countdown
- Added: Customizable retry callback functionality
Improvements #
- Enhanced: Constructor is now
constfor better performance - Improved: State management with cleaner implementation
- Updated: Documentation with comprehensive examples
- Refined: Default widget behavior and configuration
Breaking Changes #
- Renamed
setDefaultWidgetstosetDefaultsfor better clarity - Moved retry configuration to
setDefaultsmethod
1.3.0 #
New Features #
- Added:
retryBtnTextandretryMessageparameters inStateHandlerWidget. - Added:
retryBtnTextStyleandretryMessageStyleparameters inStateHandlerWidget. - Added:
retryButtonStyleparameter inStateHandlerWidget. - Added:
CurrentStateEnumparameter inStateHandlerWidget.
1.3.1 #
- Updated:
onErrorcallback inLoadingStateHandlerWidgetto include theonRetrycallback.
1.3.2 #
- Fixed: Issue with assertion in
StateHandlerWidget.
1.3.3 #
- Added: typedefs for
onLoading,onError, andonDatacallbacks inStateHandlerWidget. - Added: typedefs for
defaultOnLoading,defaultOnError, anddefaultOnDatacallbacks inStateHandlerWidget. - Updated: Readme to use the latest version of
loading_state_handler.