pressTwo method

void pressTwo()

Adds the number 2 to the expression.

Implementation

void pressTwo() {
  _laTeXTree.addChildLeaf(LEType.numberLeaf, '2');
  _notifyListeners();
}