onErrorShown method Null safety
- CalculatorError err,
- StackTrace? stack
Called at the moment a calculator error is shown, whether a program is running or not. If a program is running, this should be followed by onError().
Implementation
void onErrorShown(CalculatorError err, StackTrace? stack) {}