Class to create Interceptors to transforms or intercept new DripEvent
The goal of this class is simple change or iterate the DripEvent and the DState
whit this changes the state can mutate before is call the method mutableStateOf or before call the DripAction
This is the main class of the Drip package
This class implements the _BaseDrip and is used to create a new Drip
The Drip is used to manage the state of the application
Dripper is a widget that rebuilds when the Drip state changes.
It is similar to BlocBuilder in bloc
The builder is called when the drip emits a new state
The new state can be the same as the previous one
This class provide a builder and listener for a Drip
The class is similar to Consumer in bloc
The builder is called when the drip emits a new state
The listener is called when the drip emits a new state different from the previous one
A widget that listens to a Drip and rebuilds when the Drip emits a new state.
That state is then passed to the builder function.
To avoid unnecessary rebuilds, the builder function is only called when the selector function returns a new value.
The selector function is called with the current state of the Drip and should return a value that is used to determine whether the builder function should be called.