any_animated_button library

Classes

AnyAnimatedButton
AnyAnimatedButtonBloc<Input extends Object, Output extends Object, Failure extends Object>
Input is type of input data, that bloc receives via TriggerAnyAnimatedButtonEvent Output is type of output data that bloc returns via SuccessAnyAnimatedButtonState Failure is type of error returned via ErrorAnyAnimatedButtonState when any error occurs during processing data
AnyAnimatedButtonBlocListener<Input extends Object, Output extends Object, Failure extends Object>
T is type of data returned from any animated button bloc Failure is type of data returned form any animated button bloc
AnyAnimatedButtonEvent
AnyAnimatedButtonParams
AnyAnimatedButtonState
AnyNotAnimatedButton
CustomAnyAnimatedButton
If bloc is null, then this button will not animate, but act like a normal button, otherwise it will be animated button.
DefaultAnyAnimatedButtonState
ErrorAnimationEndsState<Failure extends Object>
ErrorAnimationStartsState<Failure extends Object>
ErrorAnyAnimatedButtonState<Failure extends Object>
ProgressAnimationEndsState
ProgressAnimationStartsState
ProgressAnyAnimatedButtonState
SuccessAnimationEndsState<G extends Object>
SuccessAnimationStartsState<G extends Object>
SuccessAnyAnimatedButtonState<G extends Object>
TriggerAnyAnimatedButtonEvent<T extends Object>

Typedefs

ErrorCallback<Failure extends Object> = void Function(Failure failure)
SuccessCallback<T extends Object> = void Function(T data)