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. String? semanticLabel,
  5. Color? iconColor,
  6. String? tooltip,
  7. VoidCallback? onTap,
  8. Widget? icon,
})

Implementation

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