showCalculatorError method Null safety

void showCalculatorError(
  1. CalculatorError e,
  2. StackTrace? stack
)

Show an error on the LCD screen.

Implementation

void showCalculatorError(CalculatorError e, StackTrace? stack) {
  showMessage('  error ${getErrorNumber(e)}  ');
  model.program.programListener.onErrorShown(e, stack);
}