FastCalculatorAction<B extends FastCalculatorBloc<FastCalculatorBlocEvent<FastCalculatorResults>, FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, FastCalculatorResults>, R extends FastCalculatorResults> constructor

const FastCalculatorAction<B extends FastCalculatorBloc<FastCalculatorBlocEvent<FastCalculatorResults>, FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, FastCalculatorResults>, R extends FastCalculatorResults>({
  1. Key? key,
  2. required B calculatorBloc,
  3. Color? disabledColor,
  4. Widget? icon,
  5. VoidCallback? onTap,
})

Implementation

const FastCalculatorAction({
  super.key,
  required this.calculatorBloc,
  this.disabledColor,
  this.icon,
  this.onTap,
});