shouldEnableInteractions method
Whether the action should be enabled or not.
Implementation
@override
bool shouldEnableInteractions(FastCalculatorBlocState state) {
return state.isInitialized && state.isDirty;
}
Whether the action should be enabled or not.
@override
bool shouldEnableInteractions(FastCalculatorBlocState state) {
return state.isInitialized && state.isDirty;
}