logic/blocs/calculator.bloc library
Classes
-
FastCalculatorBloc<
E extends FastCalculatorBlocEvent< FastCalculatorResults> , S extends FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults> , R extends FastCalculatorResults> - A generic and customizable FastCalculatorBloc class for managing the business logic of a fast calculator. This class extends the BidirectionalBloc and provides methods for initializing the calculator, patching the calculator state, computing results, and handling various events.
Typedefs
-
FastCalculatorBlocDebounceEventCallback<
E extends FastCalculatorBlocEvent< FastCalculatorResults> > = void Function(E event)