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

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

Implementation

const FastCalculatorShareAction({
  super.key,
  required super.calculatorBloc,
  this.canEnableInteractions,
  super.disabledColor,
  super.icon,
});