provider_kit 0.2.0
provider_kit: ^0.2.0 copied to clipboard
A tool kit for provider package with predefined builders, listeners, caches, observers and much more with reduced boilerplate.
0.2.0 #
- Breaking: Renamed
ProviderKittoAsyncViewStateNotifier. - Replaced
StateNotifierwithStateValueListenableas the shared abstraction for ProviderKit state widgets. - Generalized all state and multi-state widgets to support any
StateValueListenable. - Fixed an issue where
AsyncViewStateNotifiercould continue updating state after being disposed. - Added
mountedto all notifiers to safely guard asynchronous operations against disposal. - Updated testcases
- Improved documentation and README with clearer explanations and usage examples.
0.1.0 #
-
Added
NotifierBuilder,NotifierListener, andNotifierConsumeraliases to eliminate verbose<StateNotifier<T>, T>generics onState Widgetswhen passing aStateNotifierdirectly.// Before StateBuilder<StateNotifier<int>, int>(provider: notifier, ...) // After NotifierBuilder<int>(provider: notifier, ...)
0.0.2 #
- Added comprehensive test suite with over 340 test cases.
- Fixed core bugs in base widgets.
- Added override feature to
ViewStateWidgetProvider. - Improved and expanded package documentation.
0.0.1 #
- Initial release of
provider_kit. - A complementary toolkit designed to augment the
providerpackage with advanced state management utilities. - Introduces a flexible state container and a suite of reactive widgets to consume state updates seamlessly.
- Provides built-in utilities for handling loading, error, and data states with minimal boilerplate.
- Includes optional mixins for state caching and lifecycle observation.
For a full list of available widgets and classes, please refer to the package documentation.